Skip to content

Commit bfa53c8

Browse files
committed
Fix CS
1 parent 70a1291 commit bfa53c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ protected function createContainer(array $data = [])
11411141

11421142
protected function createContainerFromFile($file, $data = [], $resetCompilerPasses = true, $compile = true)
11431143
{
1144-
$cacheKey = md5(\get_class($this).$file.serialize($data));
1144+
$cacheKey = md5(static::class.$file.serialize($data));
11451145
if ($compile && isset(self::$containerCache[$cacheKey])) {
11461146
return self::$containerCache[$cacheKey];
11471147
}

Tests/Functional/AbstractWebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ protected static function createKernel(array $options = [])
6868

6969
protected static function getVarDir()
7070
{
71-
return 'FB'.substr(strrchr(\get_called_class(), '\\'), 1);
71+
return 'FB'.substr(strrchr(static::class, '\\'), 1);
7272
}
7373
}

0 commit comments

Comments
 (0)