Browse Source

Revert integer check.

Maksim Grib 10 năm trước cách đây
mục cha
commit
f6996cbd36
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Service/GearmanExecute.php

+ 3 - 3
Service/GearmanExecute.php

@@ -78,9 +78,9 @@ class GearmanExecute extends AbstractGearmanService
                 'timeout'                => null,
             ))
             ->setAllowedTypes(array(
-                'iterations'             => array('null', 'integer'),
-                'minimum_execution_time' => array('null', 'integer'),
-                'timeout'                => array('null', 'integer'),
+                'iterations'             => array('null', 'scalar'),
+                'minimum_execution_time' => array('null', 'scalar'),
+                'timeout'                => array('null', 'scalar'),
             ))
         ;
     }