Passed
Pull Request — master (#48)
by
unknown
13:50
created
src/VfacTmdb/Tmdb.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -383,7 +383,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.