Completed
Push — master ( 06cf34...9d276a )
by Iurii
01:36
created
models/Extractor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.