Completed
Push — master ( 2264f7...ee6db1 )
by Basil
02:53
created
core/base/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
      */
246 246
     public function getControllerPath()
247 247
     {
248
-        return Yii::getAlias('@' . str_replace('\\', '/', $this->controllerNamespace), false);
248
+        return Yii::getAlias('@'.str_replace('\\', '/', $this->controllerNamespace), false);
249 249
     }
250 250
 
251 251
     // STATIC METHODS
Please login to merge, or discard this patch.
core/helpers/ObjectHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         }
48 48
         
49 49
         if ($throwException) {
50
-            throw new Exception("The given object must be an instance of: " . implode(",", $haystack));
50
+            throw new Exception("The given object must be an instance of: ".implode(",", $haystack));
51 51
         }
52 52
         
53 53
         return false;
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             }
213 213
         } catch (InvalidParamException $e) {
214 214
             try {
215
-                $staticPath = static::staticBasePath() . DIRECTORY_SEPARATOR . 'controllers';
215
+                $staticPath = static::staticBasePath().DIRECTORY_SEPARATOR.'controllers';
216 216
                 foreach (FileHelper::findFiles($staticPath) as $file) {
217 217
                     $files[self::fileToName($staticPath, $file)] = $file;
218 218
                 }
Please login to merge, or discard this patch.