Browse Source

Update Select.php

update php8.1 Deprecated: Implicit conversion from float 9999.999 to int loses precision
mrchenzifan 4 năm trước cách đây
mục cha
commit
70583984c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Events/Select.php

+ 1 - 1
Events/Select.php

@@ -273,7 +273,7 @@ class Select implements EventInterface
                 } catch (\Exception $e) {} catch (\Error $e) {}
                 } catch (\Exception $e) {} catch (\Error $e) {}
 
 
             } else {
             } else {
-                usleep($this->_selectTimeout);
+                usleep((int)$this->_selectTimeout);
                 $ret = false;
                 $ret = false;
             }
             }