@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | /** |
68 | 68 | * @param IConfig $config |
69 | - * @param $string |
|
69 | + * @param string $string |
|
70 | 70 | * |
71 | 71 | * @return mixed |
72 | 72 | */ |
@@ -39,16 +39,16 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param $name |
|
43 | - * @param array $abbreviations |
|
42 | + * @param string $name |
|
43 | + * @param string[] $abbreviations |
|
44 | 44 | */ |
45 | 45 | public function addEnvironmentRule($name, array $abbreviations = []) { |
46 | 46 | $this->environmentRules = $this->addRule($this->environmentRules, $name, $abbreviations); |
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @param $name |
|
51 | - * @param array $abbreviations |
|
50 | + * @param string $name |
|
51 | + * @param string[] $abbreviations |
|
52 | 52 | */ |
53 | 53 | public function addIgnoreRule($name, array $abbreviations = []) { |
54 | 54 | $this->ignoreRules = $this->addRule($this->ignoreRules, $name, $abbreviations); |
@@ -92,7 +92,7 @@ |
||
92 | 92 | protected function matchIgnoreRules($string) { |
93 | 93 | $match = $this->matchRules($this->ignoreRules, $string); |
94 | 94 | |
95 | - return !! $match; |
|
95 | + return ! ! $match; |
|
96 | 96 | } |
97 | 97 | |
98 | 98 | private function matchRules(array $rules, $string) { |