1
0
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:
Franz Liedke
2016-02-26 12:31:59 +09:00
parent 445517ee84
commit 594a2ba8cc
11 changed files with 34 additions and 22 deletions

View File

@@ -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 = [