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:
committed by
StyleCI Bot
parent
390b529da7
commit
a1a2b35221
@@ -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