mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
Fix tests and CS
This commit is contained in:
@@ -33,7 +33,7 @@ class ModelNotFoundExceptionHandler implements ExceptionHandlerInterface
|
||||
{
|
||||
$status = 404;
|
||||
$error = [
|
||||
'status' => '404',
|
||||
'status' => (string) $status,
|
||||
'code' => 'resource_not_found'
|
||||
];
|
||||
|
||||
|
@@ -30,7 +30,7 @@ class AuthenticateWithSession implements MiddlewareInterface
|
||||
|
||||
$request = $request->withAttribute('actor', $actor);
|
||||
|
||||
return $out ? $out($request, $response) : $response;;
|
||||
return $out ? $out($request, $response) : $response;
|
||||
}
|
||||
|
||||
private function getActor(SessionInterface $session)
|
||||
|
Reference in New Issue
Block a user