Passed
Push — master ( 46c0e5...ee261b )
by Vladimir
01:33
created
src/SearchComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
      */
100 100
     public function getModelLabel($modelName)
101 101
     {
102
-        foreach($this->models as $key => $model) {
103
-            if($model['class'] == $modelName) {
102
+        foreach ($this->models as $key => $model) {
103
+            if ($model['class'] == $modelName) {
104 104
                 return isset($model['label']) ? $model['label'] : Inflector::camel2words($key);
105 105
             }
106 106
         }
Please login to merge, or discard this patch.