Skip to content

Commit 2365bd7

Browse files
CS fixes
1 parent c25e38d commit 2365bd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ private function checkDeprecatedOption(string $key)
439439

440440
private static function getCompiledRoutes(string $path): array
441441
{
442-
if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) || filter_var(ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOLEAN))) {
442+
if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) || filter_var(\ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOLEAN))) {
443443
self::$cache = null;
444444
}
445445

Tests/Generator/UrlGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ public function testGenerateRelativePath()
708708
['author' => 'bernhard', 'article' => 'forms-are-great'], UrlGeneratorInterface::RELATIVE_PATH)
709709
);
710710
$this->assertSame('https://example.com/app.php/bernhard/blog', $generator->generate('scheme',
711-
['author' => 'bernhard'], UrlGeneratorInterface::RELATIVE_PATH)
711+
['author' => 'bernhard'], UrlGeneratorInterface::RELATIVE_PATH)
712712
);
713713
$this->assertSame('../../about', $generator->generate('unrelated',
714714
[], UrlGeneratorInterface::RELATIVE_PATH)

0 commit comments

Comments
 (0)