Skip to content

Commit 09bd4fb

Browse files
committed
Fixed Issue #206 Php syntax error in php ^7.3
1 parent 3e4de6e commit 09bd4fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,10 @@ public function setHost($host): void
183183
/**
184184
* max_execution_time , in int value (seconds)
185185
*
186+
* @param int|float $timeout
186187
* @return Settings
187188
*/
188-
public function setTimeout(int|float $timeout):Settings
189+
public function setTimeout($timeout):Settings
189190
{
190191
return $this->settings()->max_execution_time(intval($timeout));
191192
}

0 commit comments

Comments
 (0)