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:
committed by
StyleCI Bot
parent
9212330ac2
commit
4413848c11
@@ -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
|
||||
|
Reference in New Issue
Block a user