From ee21694d5c16dcb382fd31d5630b9730760d068b Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 30 Jul 2024 14:53:59 +0200 Subject: [PATCH] chore: check if fabbot is correctly working --- src/Icons/src/Command/LockIconsCommand.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Icons/src/Command/LockIconsCommand.php b/src/Icons/src/Command/LockIconsCommand.php index c58a258f9e3..a6ac6b8e3a0 100644 --- a/src/Icons/src/Command/LockIconsCommand.php +++ b/src/Icons/src/Command/LockIconsCommand.php @@ -1,14 +1,5 @@ - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - namespace Symfony\UX\Icons\Command; use Symfony\Component\Console\Attribute\AsCommand; @@ -44,6 +35,8 @@ public function __construct( protected function configure(): void { $this + + ->addOption( name: 'force', mode: InputOption::VALUE_NONE, @@ -73,7 +66,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int [$prefix, $name] = $parts; try { - $svg = $this->iconify->fetchSvg($prefix, $name); + $svg = $this-> iconify->fetchSvg($prefix, $name); } catch (IconNotFoundException) { // icon not found on iconify continue;