mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 07:34:22 +02:00
refactor(find): fix typhint in FindHelper
This commit is contained in:
@@ -7,7 +7,7 @@ declare(strict_types=1);
|
||||
* Founded by Sergey Romanenko and maintained by Flextype Community.
|
||||
*/
|
||||
|
||||
use Symfony\Component\Finder\Finder;
|
||||
use Symfony\Component\Finder\Finder as Finder;
|
||||
|
||||
if (! function_exists('find')) {
|
||||
/**
|
||||
@@ -17,7 +17,7 @@ if (! function_exists('find')) {
|
||||
* @param array $options Options array.
|
||||
* @param string $searchIn Search in 'files' or 'directories'. Default is 'files'.
|
||||
*
|
||||
* @return Symfony\Component\Finder<Finder>
|
||||
* @return Finder
|
||||
*/
|
||||
function find(string $path = '', array $options = [], string $searchIn = 'files'): Finder
|
||||
{
|
||||
|
Reference in New Issue
Block a user