summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-11-15 13:06:13 -0500
committerFrederic Guillot <fred@kanboard.net>2015-11-15 13:06:13 -0500
commit42b5b413bdd7b10c2f4143251333eb721543c879 (patch)
tree4e542f79eaa64b995d7bb0508f0b2ea82c1128f1
parenta675271ad71b7713d1b33bdba3c51b2b04813229 (diff)
Code cleanup
-rw-r--r--app/Controller/User.php1
-rw-r--r--app/Core/Session/SessionStorage.php1
-rw-r--r--app/Core/Tool.php3
3 files changed, 4 insertions, 1 deletions
diff --git a/app/Controller/User.php b/app/Controller/User.php
index 22622d17..23e19828 100644
--- a/app/Controller/User.php
+++ b/app/Controller/User.php
@@ -2,7 +2,6 @@
namespace Kanboard\Controller;
-use Kanboard\Model\NotificationType;
use Kanboard\Notification\Mail as MailNotification;
/**
diff --git a/app/Core/Session/SessionStorage.php b/app/Core/Session/SessionStorage.php
index 54d803f7..703d2fbb 100644
--- a/app/Core/Session/SessionStorage.php
+++ b/app/Core/Session/SessionStorage.php
@@ -13,6 +13,7 @@ namespace Kanboard\Core\Session;
* @property array $flash
* @property array $csrf
* @property array $postAuth
+ * @property array $filters
* @property string $redirectAfterLogin
* @property string $captcha
* @property string $commentSorting
diff --git a/app/Core/Tool.php b/app/Core/Tool.php
index 247fda1a..edd2e609 100644
--- a/app/Core/Tool.php
+++ b/app/Core/Tool.php
@@ -39,6 +39,7 @@ class Tool
* @access public
* @param Container $container
* @param array $namespaces
+ * @return Container
*/
public static function buildDIC(Container $container, array $namespaces)
{
@@ -50,6 +51,8 @@ class Tool
};
}
}
+
+ return $container;
}
/**