Skip to content

Commit

Permalink
CS fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
barhoumi-dev committed Nov 30, 2023
1 parent cbafff1 commit 0b41a40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions migrations/Version20231103230504.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/BlogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function index(Request $request, int $page, string $_format, PostReposito
$tag = $tags->findOneBy(['name' => $request->query->get('tag')]);
}

if ($_format === 'html'){
if ('html' === $_format){
return $this->render('blog/index.html.twig', [
'tag' => $tag,
]);
Expand Down

0 comments on commit 0b41a40

Please sign in to comment.