Skip to content

Commit 975b6d6

Browse files
authored
Merge pull request #207 from kimpauevg/master
Fixed Issue #206 Php syntax error in php ^7.3
2 parents 3e4de6e + 292d94d commit 975b6d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Client.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,10 @@ public function setHost($host): void
182182

183183
/**
184184
* max_execution_time , in int value (seconds)
185-
*
186-
* @return Settings
187185
*/
188-
public function setTimeout(int|float $timeout):Settings
186+
public function setTimeout(int $timeout): Settings
189187
{
190-
return $this->settings()->max_execution_time(intval($timeout));
188+
return $this->settings()->max_execution_time($timeout);
191189
}
192190

193191
/**

0 commit comments

Comments
 (0)