Bläddra i källkod

Fixing some coding style and comments

Fixing PR #49
Marc 11 år sedan
förälder
incheckning
f87e20bc37
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      Service/GearmanCacheWrapper.php

+ 4 - 2
Service/GearmanCacheWrapper.php

@@ -263,9 +263,11 @@ class GearmanCacheWrapper
         foreach ($finder as $file) {
         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;
                 continue;
             }
             }