Skip to content

Commit

Permalink
boolean enforcer added to bolean parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Markcial committed Mar 3, 2015
1 parent c9b34d8 commit d44d773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psy/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function __construct(array $config = array())
*/
public function setRegisterPlugins($bool)
{
$this->registerPlugins = $bool;
$this->registerPlugins = (bool) $bool;
}

/**
Expand Down

0 comments on commit d44d773

Please sign in to comment.