@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | public function asImage() |
39 | 39 | { |
40 | - if($this->dataStub != 'linked-image.stub'){ |
|
40 | + if ($this->dataStub != 'linked-image.stub') { |
|
41 | 41 | $this->dataStub = 'image.stub'; |
42 | 42 | } |
43 | 43 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | private function getTitleStubContent() |
166 | 166 | { |
167 | - if ($this->isRelational()){ |
|
167 | + if ($this->isRelational()) { |
|
168 | 168 | return file_get_contents(__DIR__.'/stubs/titles/not-sortable.stub'); |
169 | 169 | } |
170 | 170 | |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | return \Str::contains($this->key, '.'); |
177 | 177 | } |
178 | 178 | |
179 | - private function parseRelationalKey($key){ |
|
179 | + private function parseRelationalKey($key) { |
|
180 | 180 | return str_replace('.', '->', $key); |
181 | 181 | } |
182 | 182 |