Selaa lähdekoodia

Fixing some coding style and comments

Fixing PR #49
Marc 11 vuotta sitten
vanhempi
commit
f87e20bc37
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      Service/GearmanCacheWrapper.php

+ 4 - 2
Service/GearmanCacheWrapper.php

@@ -263,9 +263,11 @@ class GearmanCacheWrapper
         foreach ($finder as $file) {
             
             /**
-             * File is checked to be parsed
+             * File is checked to be parsed. Is just parsed if is a php file
+             * Otherwise, jump to next file
              */
-            if('php' !== strtolower($file->getExtension())) {
+            if ('php' !== strtolower($file->getExtension())) {
+                
                 continue;
             }