Skip to content

Commit 291af4b

Browse files
committed
cs
1 parent 9f84511 commit 291af4b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types = 1);
42

53
namespace 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
}

0 commit comments

Comments
 (0)