Skip to content

Commit 0375f92

Browse files
committed
php-cs-fixer it up
1 parent 7de32da commit 0375f92

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/Maker/MakeRegistrationForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
331331
'firewall_name' => $this->firewallName,
332332
'redirect_route_name' => $this->redirectRouteName,
333333
'password_details' => new TemplateClassDetails($passwordHasher, $this->phpCompatUtil->canUseTypedProperties()),
334-
'use_password_hasher' => $passwordHasher === UserPasswordHasherInterface::class,
334+
'use_password_hasher' => UserPasswordHasherInterface::class === $passwordHasher,
335335
],
336336
$userRepoVars
337337
)

src/Util/TemplateClassDetails.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony MakerBundle package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bundle\MakerBundle\Util;
413

514
use Symfony\Bundle\MakerBundle\Str;

0 commit comments

Comments
 (0)