[finder] Use Symfony SplFileInfo in Finder (#212)

This commit is contained in:
Valentin Udaltsov 2021-08-30 12:23:11 +03:00 committed by GitHub
parent ae4262b7fa
commit 976b10f348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ use Countable;
use IteratorAggregate; use IteratorAggregate;
/** /**
* @implements IteratorAggregate<string, \SplFileInfo> * @implements IteratorAggregate<string, SplFileInfo>
*/ */
class Finder implements IteratorAggregate, Countable class Finder implements IteratorAggregate, Countable
{ {

View File

@ -10,6 +10,7 @@ Feature: Finder
<?php <?php
use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
class Test class Test
{ {