From 2af20d3402ba251c3b74cecea179f79ce3ad227c Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 28 Dec 2020 11:19:02 +0300 Subject: [PATCH] refactor(find): fix typhint in FindHelper --- src/flextype/Support/Helpers/FindHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/Support/Helpers/FindHelper.php b/src/flextype/Support/Helpers/FindHelper.php index 52d293d1..a7f4bc86 100644 --- a/src/flextype/Support/Helpers/FindHelper.php +++ b/src/flextype/Support/Helpers/FindHelper.php @@ -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 + * @return Finder */ function find(string $path = '', array $options = [], string $searchIn = 'files'): Finder {