mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
More indentation cleanup
This commit is contained in:
@@ -29,8 +29,9 @@ class DiscussionBasicSerializer extends AbstractSerializer
|
||||
protected function getDefaultAttributes($discussion)
|
||||
{
|
||||
if (! ($discussion instanceof Discussion)) {
|
||||
throw new InvalidArgumentException(get_class($this)
|
||||
.' can only serialize instances of '.Discussion::class);
|
||||
throw new InvalidArgumentException(
|
||||
get_class($this).' can only serialize instances of '.Discussion::class
|
||||
);
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user