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:
parent
53993a1add
commit
b197a9c030
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue