1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
Franz Liedke
2020-03-06 13:55:39 +00:00
committed by StyleCI Bot
parent 9212330ac2
commit 4413848c11
16 changed files with 69 additions and 31 deletions

View File

@@ -44,7 +44,8 @@ class ShareErrorsFromSession implements Middleware
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $session->get('errors', new ViewErrorBag)
'errors',
$session->get('errors', new ViewErrorBag)
);
// Putting the errors in the view for every view allows the developer to just