Completed
Branch master (4edcfb)
by Maxim
04:58
created
src/Weew/Config/ConfigParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param IConfig $config
69
-     * @param $string
69
+     * @param string $string
70 70
      *
71 71
      * @return mixed
72 72
      */
Please login to merge, or discard this patch.
src/Weew/Config/EnvironmentDetector.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,16 +39,16 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.