Skip to content

Commit

Permalink
Changing setLogger() to return $this
Browse files Browse the repository at this point in the history
  • Loading branch information
burzum committed May 14, 2017
1 parent d7f1909 commit f409fc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Database/Connection.php
Expand Up @@ -826,11 +826,13 @@ public function logger($instance = null)
* Sets a logger
*
* @param object $logger Logger object
* @return void
* @return $this
*/
public function setLogger($logger)
{
$this->_logger = $logger;

return $this;
}

/**
Expand Down

0 comments on commit f409fc5

Please sign in to comment.