Test Failed
Pull Request — main (#5)
by
unknown
02:18
created
src/Resources/Performances.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,9 @@
 block discarded – undo
57 57
         foreach ($performances as $performance) {
58 58
             try {
59 59
                 $date = $performance->date();
60
-                if (!is_null($date))
61
-                    $sorted[$date->getTimestamp()] = $performance;
60
+                if (!is_null($date)) {
61
+                                    $sorted[$date->getTimestamp()] = $performance;
62
+                }
62 63
             } catch (\Exception $e) {
63 64
                 trigger_error($e->getMessage(), E_USER_WARNING);
64 65
             }
Please login to merge, or discard this patch.