@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | // Use strtok() to get everything before | which separates hook name and module ID |
92 | 92 | $name = strtok(preg_replace('/^(\'(.*)\'|"(.*)")$/', '$2$3', array_shift($exploded)), '|'); |
93 | 93 | |
94 | - array_walk($exploded, function (&$param) { |
|
94 | + array_walk($exploded, function(&$param) { |
|
95 | 95 | if (strpos($param, '$') === 0) { |
96 | 96 | $param = "&$param"; |
97 | 97 | } |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function scan($directory, $count = false) |
271 | 271 | { |
272 | - $files = array_filter(gplcart_file_scan_recursive($directory), function ($file) { |
|
272 | + $files = array_filter(gplcart_file_scan_recursive($directory), function($file) { |
|
273 | 273 | return pathinfo($file, PATHINFO_EXTENSION) === 'php'; |
274 | 274 | }); |
275 | 275 |