File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1- <?php
2-
3- declare (strict_types=1 );
1+ <?php declare (strict_types = 1 );
42
53namespace PHPStan \Testing \PHPUnit ;
64
7- final class ContainerInitializer {
8- /**
9- * @var array<string, true>
10- */
11- private static $ initialized = [];
5+ use function array_key_exists ;
6+
7+ final class ContainerInitializer
8+ {
129
13- static public function initialize (string $ testClassName ): void
10+ /** @var array<string, true> */
11+ private static array $ initialized = [];
12+
13+ public static function initialize (string $ testClassName ): void
1414 {
1515 if (array_key_exists ($ testClassName , self ::$ initialized )) {
1616 return ;
@@ -20,4 +20,5 @@ static public function initialize(string $testClassName): void
2020
2121 self ::$ initialized [$ testClassName ] = true ;
2222 }
23+
2324}
You can’t perform that action at this time.
0 commit comments