@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | public function getThumbnail() |
132 | 132 | { |
133 | - if (! isset($this->source->thumbnail)) { |
|
133 | + if (!isset($this->source->thumbnail)) { |
|
134 | 134 | return null; |
135 | 135 | } |
136 | 136 | |
@@ -183,8 +183,7 @@ discard block |
||
183 | 183 | public function getRecordCount() |
184 | 184 | { |
185 | 185 | return $this->recordCount !== null ? |
186 | - $this->recordCount : |
|
187 | - $this->recordCount = (isset($this->source->record_count) ? $this->source->record_count : count($this->getRecords())); |
|
186 | + $this->recordCount : $this->recordCount = (isset($this->source->record_count) ? $this->source->record_count : count($this->getRecords())); |
|
188 | 187 | } |
189 | 188 | |
190 | 189 | /** |
@@ -192,7 +191,7 @@ discard block |
||
192 | 191 | */ |
193 | 192 | public function getRecords() |
194 | 193 | { |
195 | - if (! isset($this->source->records)) { |
|
194 | + if (!isset($this->source->records)) { |
|
196 | 195 | $this->records = new ArrayCollection(); |
197 | 196 | } |
198 | 197 | |
@@ -204,7 +203,7 @@ discard block |
||
204 | 203 | */ |
205 | 204 | public function getMetadata() |
206 | 205 | { |
207 | - if (! isset($this->source->metadata)) { |
|
206 | + if (!isset($this->source->metadata)) { |
|
208 | 207 | $this->metadata = new ArrayCollection(); |
209 | 208 | } |
210 | 209 | |
@@ -216,7 +215,7 @@ discard block |
||
216 | 215 | */ |
217 | 216 | public function getStatus() |
218 | 217 | { |
219 | - if (! isset($this->status)) { |
|
218 | + if (!isset($this->status)) { |
|
220 | 219 | $this->status = $this->entityManager->getRepository('recordStatus')->findByRecord( |
221 | 220 | $this->getDataboxId(), |
222 | 221 | $this->getStoryId() |
@@ -231,7 +230,7 @@ discard block |
||
231 | 230 | */ |
232 | 231 | public function getCaption() |
233 | 232 | { |
234 | - if (! isset($this->caption)) { |
|
233 | + if (!isset($this->caption)) { |
|
235 | 234 | $this->caption = $this->entityManager->getRepository('caption')->findByRecord( |
236 | 235 | $this->getDataboxId(), |
237 | 236 | $this->getStoryId() |