@@ -20,6 +20,9 @@ |
||
20 | 20 | */ |
21 | 21 | class EntityDumpIteratorTest extends TestCase { |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $filePath |
|
25 | + */ |
|
23 | 26 | private function newIteratorForFile( $filePath, callable $onError = null ) { |
24 | 27 | return ( new JsonDumpFactory() )->newEntityDumpIterator( |
25 | 28 | new ExtractedDumpReader( $filePath ), |
@@ -16,6 +16,9 @@ |
||
16 | 16 | */ |
17 | 17 | class ObjectDumpIteratorTest extends TestCase { |
18 | 18 | |
19 | + /** |
|
20 | + * @param string[] $lines |
|
21 | + */ |
|
19 | 22 | private function getIteratorWithReaderReturning( $lines ) { |
20 | 23 | return ( new JsonDumpFactory() )->newObjectDumpIterator( new FakeDumpReader( $lines ) ); |
21 | 24 | } |