From b197a9c030842288c95e116789a97770f85bf7fa Mon Sep 17 00:00:00 2001 From: Mathieu Dumoulin Date: Tue, 15 Oct 2013 09:34:24 -0400 Subject: [PATCH] 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: https://github.com/Block8/PHPCI/commit/53993a1add01e2945ae64de787b0634f0c0a10e9 --- PHPCI/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php index abf5b477..6fa20be0 100644 --- a/PHPCI/Builder.php +++ b/PHPCI/Builder.php @@ -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');