@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $this->data = $data; |
34 | 34 | } |
35 | 35 | |
36 | - abstract public static function fields(): ?array; |
|
36 | + abstract public static function fields(): ? array; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param $name |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | public function __call(string $method, array $args = []) |
48 | 48 | { |
49 | - $refresh = (bool) array_shift($args); |
|
49 | + $refresh = (bool)array_shift($args); |
|
50 | 50 | return $this->getRelatedModel($method, $refresh); |
51 | 51 | } |
52 | 52 |