Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions src/Icons/src/Command/LockIconsCommand.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* 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;
Expand Down Expand Up @@ -44,6 +35,8 @@ public function __construct(
protected function configure(): void
{
$this


->addOption(
name: 'force',
mode: InputOption::VALUE_NONE,
Expand Down Expand Up @@ -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;
Expand Down