@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | abstract class PasswordUtil |
6 | 6 | { |
7 | - static public function evaluateStrength(string $password): int |
|
7 | + static public function evaluateStrength(string $password): int |
|
8 | 8 | { |
9 | 9 | $score = 0; |
10 | 10 | $maxScore = 100; |
@@ -20,7 +20,9 @@ |
||
20 | 20 | { |
21 | 21 | if (!array_key_exists(WordPressCollector::COLLECTOR_IDENTIFIER, $this->inventory) |
22 | 22 | || !is_array($this->inventory[WordPressCollector::COLLECTOR_IDENTIFIER]) |
23 | - ) return []; |
|
23 | + ) { |
|
24 | + return []; |
|
25 | + } |
|
24 | 26 | |
25 | 27 | $credentials = []; |
26 | 28 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | return file_exists($path); |
46 | 46 | } |
47 | 47 | |
48 | - public function getContents(string $path, bool $asArray = false): string|false|array |
|
48 | + public function getContents(string $path, bool $asArray = false): string | false | array |
|
49 | 49 | { |
50 | 50 | if ($asArray) { |
51 | 51 | return file($path); |