Completed
Push — master ( 34a39d...0cea8c )
by Tim
15s queued 12s
created
Classes/Controller/CalendarController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@
 block discarded – undo
400 400
         $now = DateTimeUtility::getNow();
401 401
         $useCurrentDate = $now->format('Y-m') === $date->format('Y-m');
402 402
 
403
-        if(isset($arguments['index'])) {
403
+        if (isset($arguments['index'])) {
404 404
             /** @var Index $index */
405 405
             $index = $this->indexRepository->findByUid($arguments['index']);
406 406
             $date = $index->getStartDate();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -404,8 +404,7 @@
 block discarded – undo
404 404
             /** @var Index $index */
405 405
             $index = $this->indexRepository->findByUid($arguments['index']);
406 406
             $date = $index->getStartDate();
407
-        }
408
-        else {
407
+        } else {
409 408
             if ($useCurrentDate) {
410 409
                 $date = $now;
411 410
             }
Please login to merge, or discard this patch.