Passed
Push — master ( afe80e...a0f706 )
by Andrey
18:58 queued 09:50
created
src/Traits/DateTimes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function getDateTime()
51 51
     {
52
-        if ($this->dateTime && (! $this->dateTimeFrom || ! $this->dateTimeTo)) {
52
+        if ($this->dateTime && (!$this->dateTimeFrom || !$this->dateTimeTo)) {
53 53
             $this->methodProperties['DateTime'] = $this->dateTime;
54 54
         }
55 55
 
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
     public function getDateTimeFromTo()
63 63
     {
64 64
         if ($this->dateTimeFrom || $this->dateTimeTo) {
65
-            if (! $this->dateTimeTo) {
65
+            if (!$this->dateTimeTo) {
66 66
                 $this->dateTimeTo = Carbon::now()->format($this->format);
67 67
             }
68
-            if (! $this->dateTimeFrom) {
68
+            if (!$this->dateTimeFrom) {
69 69
                 $this->dateTimeFrom = $this->dateTimeTo;
70 70
             }
71 71
 
Please login to merge, or discard this patch.