Completed
Pull Request — master (#169)
by Kevin
03:00
created
lib/Util/Translator/Translator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
 
94
+    /**
95
+     * @param string $textDomain
96
+     */
94 97
     protected function translatePart($translate, $result, $textDomain, $locale)
95 98
     {
96 99
         $newResult = parent::translate($result, $textDomain, $locale);
Please login to merge, or discard this patch.
lib/Extractors/DateTime.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,9 @@
 block discarded – undo
53 53
         $max = false;
54 54
         $min = PHP_INT_MAX;
55 55
         foreach ($matchedParts as $part) {
56
-            if ($part === null) continue;
56
+            if ($part === null) {
57
+                continue;
58
+            }
57 59
             if ($part >= $max) {
58 60
                 $max = $part;
59 61
             }
Please login to merge, or discard this patch.
lib/Extractors/AbstractAddressExtractor.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             $this->street1 = trim(array_shift($rows));
60 60
             $this->business = trim(array_shift($rows));
61 61
             //Easy
62
-        }else if (count($rows) == 1) {
62
+        } else if (count($rows) == 1) {
63 63
             $this->street1 = trim(array_shift($rows));
64 64
 
65 65
             // Not so easy
Please login to merge, or discard this patch.
lib/Util/Configuration/ClassConfigurationReader.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,9 @@
 block discarded – undo
53 53
             }
54 54
         }
55 55
 
56
-        if (!is_dir($configurationDir)) return;
56
+        if (!is_dir($configurationDir)) {
57
+            return;
58
+        }
57 59
 
58 60
         $configurationFile = get_class($config) . '.php';
59 61
         $configurationFile = $configurationDir . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile);
Please login to merge, or discard this patch.
lib/Introspection/Introspector.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return $classes;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $class
101
+     */
99 102
     protected function processClass($class)
100 103
     {
101 104
         try {
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         return null;
138 141
     }
139 142
 
143
+    /**
144
+     * @param string $file
145
+     */
140 146
     protected function getClassNameInFile($file)
141 147
     {
142 148
         $namespace = $class = '';
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,9 @@
 block discarded – undo
141 141
     {
142 142
         $namespace = $class = '';
143 143
         $content = file_get_contents($file);
144
-        if (!$content) return null;
144
+        if (!$content) {
145
+            return null;
146
+        }
145 147
         $tokens = token_get_all($content);
146 148
         $count = count($tokens);
147 149
         for ($i = 2; $i < $count; $i++) {
Please login to merge, or discard this patch.