@@ -383,7 +383,8 @@ discard block |
||
| 383 | 383 | if (isset($options['start_date'])) { |
| 384 | 384 | if ($this->checkOptionDate($options['start_date'])) { |
| 385 | 385 | $return['start_date'] = $options['start_date']; |
| 386 | - } else { |
|
| 386 | + } |
|
| 387 | + else { |
|
| 387 | 388 | $this->logger->error('Incorrect start date param option', array('start_date' => $options['start_date'])); |
| 388 | 389 | throw new IncorrectParamException; |
| 389 | 390 | } |
@@ -392,7 +393,8 @@ discard block |
||
| 392 | 393 | if (isset($options['end_date'])) { |
| 393 | 394 | if ($this->checkOptionDate($options['end_date'])) { |
| 394 | 395 | $return['end_date'] = $options['end_date']; |
| 395 | - } else { |
|
| 396 | + } |
|
| 397 | + else { |
|
| 396 | 398 | $this->logger->error('Incorrect end date param option', array('end_date' => $options['end_date'])); |
| 397 | 399 | throw new IncorrectParamException; |
| 398 | 400 | } |