@@ -1003,11 +1003,11 @@ discard block |
||
| 1003 | 1003 | \array_intersect($needles, $this->keys()->getArray()), |
| 1004 | 1004 | \COUNT_NORMAL |
| 1005 | 1005 | ) |
| 1006 | - === |
|
| 1007 | - \count( |
|
| 1008 | - $needles, |
|
| 1009 | - \COUNT_NORMAL |
|
| 1010 | - ); |
|
| 1006 | + === |
|
| 1007 | + \count( |
|
| 1008 | + $needles, |
|
| 1009 | + \COUNT_NORMAL |
|
| 1010 | + ); |
|
| 1011 | 1011 | } |
| 1012 | 1012 | |
| 1013 | 1013 | /** |
@@ -1062,8 +1062,8 @@ discard block |
||
| 1062 | 1062 | public function containsValues(array $needles): bool |
| 1063 | 1063 | { |
| 1064 | 1064 | return \count(\array_intersect($needles, $this->getArray()), \COUNT_NORMAL) |
| 1065 | - === |
|
| 1066 | - \count($needles, \COUNT_NORMAL); |
|
| 1065 | + === |
|
| 1066 | + \count($needles, \COUNT_NORMAL); |
|
| 1067 | 1067 | } |
| 1068 | 1068 | |
| 1069 | 1069 | /** |
@@ -2516,15 +2516,15 @@ discard block |
||
| 2516 | 2516 | |
| 2517 | 2517 | if ($recursive === true) { |
| 2518 | 2518 | return $this->array_keys_recursive($this->getArray()) |
| 2519 | - === |
|
| 2520 | - \range(0, \count($this->getArray(), \COUNT_RECURSIVE) - 1); |
|
| 2519 | + === |
|
| 2520 | + \range(0, \count($this->getArray(), \COUNT_RECURSIVE) - 1); |
|
| 2521 | 2521 | } |
| 2522 | 2522 | |
| 2523 | 2523 | // non recursive |
| 2524 | 2524 | |
| 2525 | 2525 | return \array_keys($this->getArray()) |
| 2526 | - === |
|
| 2527 | - \range(0, \count($this->getArray(), \COUNT_NORMAL) - 1); |
|
| 2526 | + === |
|
| 2527 | + \range(0, \count($this->getArray(), \COUNT_NORMAL) - 1); |
|
| 2528 | 2528 | } |
| 2529 | 2529 | |
| 2530 | 2530 | /** |
@@ -4896,7 +4896,7 @@ discard block |
||
| 4896 | 4896 | } |
| 4897 | 4897 | |
| 4898 | 4898 | /** |
| 4899 | - * @param mixed $path |
|
| 4899 | + * @param string $path |
|
| 4900 | 4900 | * @param callable $callable |
| 4901 | 4901 | * @param array|null $currentOffset |
| 4902 | 4902 | * |
@@ -5039,7 +5039,7 @@ discard block |
||
| 5039 | 5039 | } |
| 5040 | 5040 | |
| 5041 | 5041 | /** |
| 5042 | - * @param mixed $glue |
|
| 5042 | + * @param string $glue |
|
| 5043 | 5043 | * @param mixed $pieces |
| 5044 | 5044 | * @param bool $useKeys |
| 5045 | 5045 | * |
@@ -242,6 +242,7 @@ |
||
| 242 | 242 | * Merge current items and items of given collections into a new one. |
| 243 | 243 | * |
| 244 | 244 | * @param self ...$collections The collections to merge. |
| 245 | + * @param \self[] $collections |
|
| 245 | 246 | * |
| 246 | 247 | * @throws \InvalidArgumentException if any of the given collections are not of the same type |
| 247 | 248 | * |