Skip to content

Commit

Permalink
Return $this on useConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
peppeocchi committed Sep 24, 2015
1 parent ffabefa commit 5a1ef10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GO/Scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ public function __construct(array $config = [])
* Switch between configurations
*
* @param array $config
* @return void
* @return $this
*/
public function useConfig(array $config)
{
$this->config = $config;

return $this;
}

/**
Expand Down

0 comments on commit 5a1ef10

Please sign in to comment.