summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/HookHelper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Helper/HookHelper.php b/app/Helper/HookHelper.php
index e43cfdfd..24b7d00a 100644
--- a/app/Helper/HookHelper.php
+++ b/app/Helper/HookHelper.php
@@ -2,6 +2,7 @@
namespace Kanboard\Helper;
+use Closure;
use Kanboard\Core\Base;
/**
@@ -87,10 +88,10 @@ class HookHelper extends Base
* @access public
* @param string $hook
* @param string $template
- * @param callable $callable
+ * @param Closure $callable
* @return $this
*/
- public function attachCallable($hook, $template, callable $callable)
+ public function attachCallable($hook, $template, Closure $callable)
{
$this->hook->on($hook, array(
'template' => $template,