|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
} |
|
49
|
49
|
|
|
50
|
50
|
if ($throwException) { |
|
51
|
|
- throw new Exception("The given object must be an instance of: " . implode(",", $haystack)); |
|
|
51
|
+ throw new Exception("The given object must be an instance of: ".implode(",", $haystack)); |
|
52
|
52
|
} |
|
53
|
53
|
|
|
54
|
54
|
return false; |
|
@@ -218,7 +218,7 @@ discard block |
|
|
block discarded – undo |
|
218
|
218
|
|
|
219
|
219
|
}; |
|
220
|
220
|
|
|
221
|
|
- $staticPath = $module::staticBasePath() . DIRECTORY_SEPARATOR . 'controllers'; |
|
|
221
|
+ $staticPath = $module::staticBasePath().DIRECTORY_SEPARATOR.'controllers'; |
|
222
|
222
|
if (is_dir($staticPath)) { |
|
223
|
223
|
foreach (FileHelper::findFiles($staticPath) as $file) { |
|
224
|
224
|
$files[self::fileToName($staticPath, $file)] = $file; |
Please login to merge, or discard this patch.