mirror of
https://github.com/flarum/core.git
synced 2025-07-30 13:10:24 +02:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
committed by
StyleCI Bot
parent
9212330ac2
commit
4413848c11
@@ -17,7 +17,9 @@ class IlluminateValidationExceptionHandler
|
||||
public function handle(ValidationException $e): HandledError
|
||||
{
|
||||
return (new HandledError(
|
||||
$e, 'validation_error', 422
|
||||
$e,
|
||||
'validation_error',
|
||||
422
|
||||
))->withDetails($this->errorDetails($e));
|
||||
}
|
||||
|
||||
|
@@ -17,7 +17,9 @@ class ValidationExceptionHandler
|
||||
public function handle(ValidationException $e)
|
||||
{
|
||||
return (new HandledError(
|
||||
$e, 'validation_error', 422
|
||||
$e,
|
||||
'validation_error',
|
||||
422
|
||||
))->withDetails(array_merge(
|
||||
$this->buildDetails($e->getAttributes(), '/data/attributes'),
|
||||
$this->buildDetails($e->getRelationships(), '/data/relationships')
|
||||
|
@@ -89,7 +89,9 @@ class UninstalledSite implements SiteInterface
|
||||
$dispatcher = $app->make(Dispatcher::class);
|
||||
|
||||
return new \Illuminate\View\Factory(
|
||||
$engines, $finder, $dispatcher
|
||||
$engines,
|
||||
$finder,
|
||||
$dispatcher
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user