1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Make existing extensions compatible with new stack

This commit is contained in:
Franz Liedke
2019-08-09 20:42:03 +02:00
parent 1035636d0f
commit 3417f5a77e
8 changed files with 38 additions and 18 deletions

View File

@@ -12,7 +12,12 @@
namespace Flarum\Api\Exception;
use Exception;
use Flarum\Foundation\KnownError;
class InvalidAccessTokenException extends Exception
class InvalidAccessTokenException extends Exception implements KnownError
{
public function getType(): string
{
return 'invalid_access_token';
}
}