Added leading slash to closure to prevent reference to PHPCI namespace

Don't forget to put \ in front of PHP namespaced objects or you end up in your own namespace.

In reference to commit: 53993a1add
This commit is contained in:
Mathieu Dumoulin 2013-10-15 09:34:24 -04:00
parent 53993a1add
commit b197a9c030

View file

@ -97,7 +97,7 @@ class Builder
* @param \PHPCI\Model\Build
* @param callable
*/
public function __construct(Build $build, Closure $logCallback)
public function __construct(Build $build, \Closure $logCallback)
{
$this->build = $build;
$this->store = Store\Factory::getStore('Build');