1
0
mirror of https://github.com/flarum/core.git synced 2025-07-21 08:41:17 +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 390b529da7
commit a1a2b35221
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