@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | public function asImage() |
38 | 38 | { |
39 | - if($this->stub != 'linked-image.stub'){ |
|
39 | + if ($this->stub != 'linked-image.stub') { |
|
40 | 40 | $this->stub = 'image.stub'; |
41 | 41 | } |
42 | 42 | |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | |
157 | 157 | private function getTitleStubContent() |
158 | 158 | { |
159 | - if ($this->isRelational()){ |
|
159 | + if ($this->isRelational()) { |
|
160 | 160 | return file_get_contents(__DIR__.'/stubs/titles/relational.stub'); |
161 | 161 | } |
162 | 162 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | return \Str::contains($this->key, '.'); |
169 | 169 | } |
170 | 170 | |
171 | - private function parseRelationalKey($key){ |
|
171 | + private function parseRelationalKey($key) { |
|
172 | 172 | return str_replace('.', '->', $key); |
173 | 173 | } |
174 | 174 |