1
0
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:
Awilum
2020-12-28 11:19:02 +03:00
parent 1daffb5361
commit 2af20d3402

View File

@@ -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
{