summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-15 20:09:43 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-15 20:09:43 -0400
commit8a6f02735b628033a3284d06a9f633bd260e19ef (patch)
tree57d0c2acb22d6afe0412903a088ed77ac0ba3596 /app/Core
parent67b836164997527b91452b19adbcb8aa3c5decf1 (diff)
Added task creation menu for all projects views
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Controller/BaseMiddleware.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Core/Controller/BaseMiddleware.php b/app/Core/Controller/BaseMiddleware.php
index f2862d13..233843c9 100644
--- a/app/Core/Controller/BaseMiddleware.php
+++ b/app/Core/Controller/BaseMiddleware.php
@@ -25,10 +25,10 @@ abstract class BaseMiddleware extends Base
/**
* Set next middleware
*
- * @param BaseMiddleware $nextMiddleware
+ * @param BaseMiddleware|null $nextMiddleware
* @return BaseMiddleware
*/
- public function setNextMiddleware($nextMiddleware)
+ public function setNextMiddleware(BaseMiddleware $nextMiddleware)
{
$this->nextMiddleware = $nextMiddleware;
return $this;