Passed
Push — master ( 04fc6f...309c46 )
by Csaba
01:51 queued 31s
created
src/HumanDirect/Socially/Parser.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
             __DIR__ . '/Normalizer',
92 92
             \RecursiveDirectoryIterator::SKIP_DOTS
93 93
         );
94
-        $files = new \RecursiveCallbackFilterIterator($directory, function ($current, $key, $iterator) use ($normalizerNS) {
94
+        $files = new \RecursiveCallbackFilterIterator($directory, function($current, $key, $iterator) use ($normalizerNS) {
95 95
             $className = str_replace('.php', '', $current->getFilename());
96 96
             $isNormalizer = 'Normalizer' === substr($className, -10);
97 97
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         foreach ($files as $file) {
108 108
             $className = $normalizerNS . str_replace('.php', '', $file->getFilename());
109
-            $this->normalizers[] = new $className();
109
+            $this->normalizers[ ] = new $className();
110 110
         }
111 111
     }
112 112
 
Please login to merge, or discard this patch.