@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param IIteratorScheme|null $scheme |
| 61 | 61 | * @param Traversable|null $source |
| 62 | 62 | * |
| 63 | - * @return callable |
|
| 63 | + * @return \Closure |
|
| 64 | 64 | */ |
| 65 | 65 | public static function factory(IIteratorScheme $scheme = null, Traversable $source = null) |
| 66 | 66 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * Returns a callable factory to construct an equivalent |
| 77 | 77 | * instance with the supplied elements. |
| 78 | 78 | * |
| 79 | - * @return callable |
|
| 79 | + * @return \Closure |
|
| 80 | 80 | */ |
| 81 | 81 | final protected function scopedSelfFactory() |
| 82 | 82 | { |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class IteratorScheme extends Common\IteratorScheme |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param string $phpVersion |
|
| 18 | + */ |
|
| 16 | 19 | public static function compatibleWith($phpVersion) |
| 17 | 20 | { |
| 18 | 21 | return version_compare($phpVersion, '5.4.0', '>='); |