summaryrefslogtreecommitdiff
path: root/src/Middleware
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-06 13:43:57 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-06 13:43:57 +0100
commit8b5b9e2c65193171a12bf99a8df860a66e6900a5 (patch)
treeeed7c815dfa7f6b034dff3e758e6578d26e3d81e /src/Middleware
parent2cce967eb09edd6ef35238c68f8ff5ed2348f5fd (diff)
src/: Formatting, doc block hints and cleanup
Diffstat (limited to 'src/Middleware')
-rw-r--r--src/Middleware/LegacyMiddleware.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index e26b0851..478ffab1 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -219,6 +219,8 @@ class LegacyMiddleware implements MiddlewareInterface
}
redirect(page_link_to('login'));
+
+ return [];
}
/**