Skip to content

Commit d8728d8

Browse files
committed
iterate
1 parent bc48c8f commit d8728d8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/Toolkit/src/Command/InstallCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\UX\Toolkit\Command;
1313

14-
use Symfony\Component\Console\Command\Command;
1514
use Symfony\Component\Console\Attribute\AsCommand;
15+
use Symfony\Component\Console\Command\Command;
1616
use Symfony\Component\Console\Input\InputArgument;
1717
use Symfony\Component\Console\Input\InputInterface;
1818
use Symfony\Component\Console\Input\InputOption;
@@ -24,7 +24,6 @@
2424
use Symfony\UX\Toolkit\Installer\Installer;
2525
use Symfony\UX\Toolkit\Kit\Kit;
2626
use Symfony\UX\Toolkit\Recipe\Recipe;
27-
use Symfony\UX\Toolkit\Recipe\RecipeType;
2827
use Symfony\UX\Toolkit\Registry\LocalRegistry;
2928
use Symfony\UX\Toolkit\Registry\RegistryFactory;
3029

src/Toolkit/src/Kit/KitContextRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function createComponentTemplateFinder(Kit $kit): ComponentTemplateFinde
8383
{
8484
static $instances = [];
8585

86-
return $instances[$kit->manifest->name] ?? new class ($kit) implements ComponentTemplateFinderInterface {
86+
return $instances[$kit->manifest->name] ?? new class($kit) implements ComponentTemplateFinderInterface {
8787
public function __construct(private readonly Kit $kit)
8888
{
8989
}

src/Toolkit/tests/Functional/ComponentsRenderingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function assertCodeRenderedMatchesHtmlSnapshot(Kit $kit, Recipe $recipe,
9595
trim($code)
9696
);
9797

98-
$this->assertMatchesSnapshot($renderedCode, new class ($info) extends HtmlDriver {
98+
$this->assertMatchesSnapshot($renderedCode, new class($info) extends HtmlDriver {
9999
public function __construct(private string $info)
100100
{
101101
}

0 commit comments

Comments
 (0)