@@ -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 | /** |
@@ -1542,11 +1542,11 @@ |
||
| 1542 | 1542 | ), |
| 1543 | 1543 | \COUNT_NORMAL |
| 1544 | 1544 | ) |
| 1545 | - === |
|
| 1546 | - \count( |
|
| 1547 | - $needles, |
|
| 1548 | - \COUNT_NORMAL |
|
| 1549 | - ); |
|
| 1545 | + === |
|
| 1546 | + \count( |
|
| 1547 | + $needles, |
|
| 1548 | + \COUNT_NORMAL |
|
| 1549 | + ); |
|
| 1550 | 1550 | } |
| 1551 | 1551 | |
| 1552 | 1552 | /** |
@@ -13,17 +13,17 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | final class ArrayyRewindableExtendedGenerator extends ArrayyRewindableGenerator |
| 15 | 15 | { |
| 16 | - public function __construct( |
|
| 17 | - callable $generatorConstructionFunction, |
|
| 18 | - callable $onRewind = null, |
|
| 19 | - string $class = '' |
|
| 20 | - ) { |
|
| 21 | - parent::__construct( |
|
| 22 | - $generatorConstructionFunction, |
|
| 23 | - $onRewind, |
|
| 24 | - $class |
|
| 25 | - ); |
|
| 26 | - } |
|
| 16 | + public function __construct( |
|
| 17 | + callable $generatorConstructionFunction, |
|
| 18 | + callable $onRewind = null, |
|
| 19 | + string $class = '' |
|
| 20 | + ) { |
|
| 21 | + parent::__construct( |
|
| 22 | + $generatorConstructionFunction, |
|
| 23 | + $onRewind, |
|
| 24 | + $class |
|
| 25 | + ); |
|
| 26 | + } |
|
| 27 | 27 | |
| 28 | 28 | |
| 29 | 29 | /** |