@@ -220,8 +220,12 @@ discard block |
||
| 220 | 220 | */ |
| 221 | 221 | public function setSentValues(): void |
| 222 | 222 | { |
| 223 | - if ($this->files) $this->setValues($this->setValuesToFill($this->files, true)); |
|
| 224 | - if ($this->entries) $this->setValues($this->setValuesToFill($this->entries)); |
|
| 223 | + if ($this->files) { |
|
| 224 | + $this->setValues($this->setValuesToFill($this->files, true)); |
|
| 225 | + } |
|
| 226 | + if ($this->entries) { |
|
| 227 | + $this->setValues($this->setValuesToFill($this->entries)); |
|
| 228 | + } |
|
| 225 | 229 | } |
| 226 | 230 | |
| 227 | 231 | /** |
@@ -276,7 +280,10 @@ discard block |
||
| 276 | 280 | */ |
| 277 | 281 | public function store(): void |
| 278 | 282 | { |
| 279 | - if ($this->storage) $this->storage->store($this->getValues(), 86400); # day |
|
| 283 | + if ($this->storage) { |
|
| 284 | + $this->storage->store($this->getValues(), 86400); |
|
| 285 | + } |
|
| 286 | + # day |
|
| 280 | 287 | } |
| 281 | 288 | |
| 282 | 289 | /** |
@@ -285,7 +292,9 @@ discard block |
||
| 285 | 292 | */ |
| 286 | 293 | public function loadStored(): void |
| 287 | 294 | { |
| 288 | - if ($this->storage) $this->setValues($this->storage->load()); |
|
| 295 | + if ($this->storage) { |
|
| 296 | + $this->setValues($this->storage->load()); |
|
| 297 | + } |
|
| 289 | 298 | } |
| 290 | 299 | |
| 291 | 300 | /** |