Skip to content

Commit 5a1ef10

Browse files
committed
Return $this on useConfig
1 parent ffabefa commit 5a1ef10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GO/Scheduler.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ public function __construct(array $config = [])
5151
* Switch between configurations
5252
*
5353
* @param array $config
54-
* @return void
54+
* @return $this
5555
*/
5656
public function useConfig(array $config)
5757
{
5858
$this->config = $config;
59+
60+
return $this;
5961
}
6062

6163
/**

0 commit comments

Comments
 (0)