Skip to content

Commit 32859ab

Browse files
committed
Review - fixed function declaration codestyle, removed redundant invtval
1 parent 09bd4fb commit 32859ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ public function setHost($host): void
186186
* @param int|float $timeout
187187
* @return Settings
188188
*/
189-
public function setTimeout($timeout):Settings
189+
public function setTimeout(int $timeout): Settings
190190
{
191-
return $this->settings()->max_execution_time(intval($timeout));
191+
return $this->settings()->max_execution_time($timeout);
192192
}
193193

194194
/**

0 commit comments

Comments
 (0)