mirror of
https://github.com/flarum/core.git
synced 2025-10-13 16:05:05 +02:00
More indentation cleanup
This commit is contained in:
@@ -30,8 +30,9 @@ class PostBasicSerializer extends AbstractSerializer
|
||||
protected function getDefaultAttributes($post)
|
||||
{
|
||||
if (! ($post instanceof Post)) {
|
||||
throw new InvalidArgumentException(get_class($this)
|
||||
.' can only serialize instances of '.Post::class);
|
||||
throw new InvalidArgumentException(
|
||||
get_class($this).' can only serialize instances of '.Post::class
|
||||
);
|
||||
}
|
||||
|
||||
$attributes = [
|
||||
|
Reference in New Issue
Block a user