@@ -82,32 +82,32 @@ |
||
| 82 | 82 | \gettype($value) === (self::$typeMapping[$type] ?? $type) |
| 83 | 83 | || |
| 84 | 84 | ( |
| 85 | - $type === 'scalar' |
|
| 85 | + $type === 'scalar' |
|
| 86 | 86 | && |
| 87 | 87 | \is_scalar($value) |
| 88 | - ) |
|
| 88 | + ) |
|
| 89 | 89 | || |
| 90 | 90 | ( |
| 91 | - $type === 'callable' |
|
| 91 | + $type === 'callable' |
|
| 92 | 92 | && |
| 93 | 93 | \is_callable($value) |
| 94 | - ) |
|
| 94 | + ) |
|
| 95 | 95 | || |
| 96 | 96 | ( |
| 97 | - $type === 'numeric' |
|
| 97 | + $type === 'numeric' |
|
| 98 | 98 | && |
| 99 | 99 | ( |
| 100 | - \is_float($value) |
|
| 100 | + \is_float($value) |
|
| 101 | 101 | || |
| 102 | 102 | \is_int($value) |
| 103 | - ) |
|
| 104 | - ) |
|
| 103 | + ) |
|
| 104 | + ) |
|
| 105 | 105 | || |
| 106 | 106 | ( |
| 107 | - $type === 'resource' |
|
| 107 | + $type === 'resource' |
|
| 108 | 108 | && |
| 109 | 109 | \is_resource($value) |
| 110 | - ); |
|
| 110 | + ); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
@@ -1694,11 +1694,11 @@ discard block |
||
| 1694 | 1694 | ), |
| 1695 | 1695 | \COUNT_NORMAL |
| 1696 | 1696 | ) |
| 1697 | - === |
|
| 1698 | - \count( |
|
| 1699 | - $needles, |
|
| 1700 | - \COUNT_NORMAL |
|
| 1701 | - ); |
|
| 1697 | + === |
|
| 1698 | + \count( |
|
| 1699 | + $needles, |
|
| 1700 | + \COUNT_NORMAL |
|
| 1701 | + ); |
|
| 1702 | 1702 | } |
| 1703 | 1703 | |
| 1704 | 1704 | /** |
@@ -6907,7 +6907,7 @@ discard block |
||
| 6907 | 6907 | |
| 6908 | 6908 | /** @phpstan-ignore-next-line - depends on the $convertAllArrayyElements parameter :/ */ |
| 6909 | 6909 | return $array; |
| 6910 | - } |
|
| 6910 | + } |
|
| 6911 | 6911 | |
| 6912 | 6912 | return \iterator_to_array($this->getGenerator(), $preserveKeys); |
| 6913 | 6913 | } |