@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | private function checkItemChangesOptions(array $options) : array |
87 | 87 | { |
88 | - $params = []; |
|
88 | + $params = []; |
|
89 | 89 | $this->tmdb->checkOptionPage($options, $params); |
90 | 90 | $this->tmdb->checkOptionDateRange($options, $params); |
91 | 91 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -382,7 +382,8 @@ |
||
382 | 382 | if (isset($options[$optionName])) { |
383 | 383 | if ($this->checkOptionDate($options[$optionName])) { |
384 | 384 | $return[$optionName] = $options[$optionName]; |
385 | - } else { |
|
385 | + } |
|
386 | + else { |
|
386 | 387 | $this->logger->error('Incorrect date param option', array($optionName => $options[$optionName])); |
387 | 388 | throw new IncorrectParamException; |
388 | 389 | } |