Passed
Branch master (521290)
by Alexander
03:13
created
src/DateTimeImmutable.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         try {
33 33
             $this->phpDateTime = new PhpDateTime($dateString);
34
-        }
35
-        catch (PhpException $exception) {
34
+        } catch (PhpException $exception) {
36 35
             // Suspect it is a unixtime that could not be parsed.
37 36
             $this->phpDateTime = new PhpDateTime();
38 37
             $this->phpDateTime->setTimestamp($dateString);
Please login to merge, or discard this patch.