@@ -46,11 +46,11 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function getDateTime(): void |
48 | 48 | { |
49 | - if ($this->dateTime && (! $this->dateTimeFrom || ! $this->dateTimeTo)) { |
|
49 | + if ($this->dateTime && (!$this->dateTimeFrom || !$this->dateTimeTo)) { |
|
50 | 50 | $this->methodProperties['DateTime'] = $this->dateTime; |
51 | 51 | } |
52 | 52 | |
53 | - if (! $this->dateTime) { |
|
53 | + if (!$this->dateTime) { |
|
54 | 54 | $this->dateTime = Carbon::now()->format($this->format); |
55 | 55 | $this->methodProperties['DateTime'] = $this->dateTime; |
56 | 56 | } |
@@ -62,10 +62,10 @@ discard block |
||
62 | 62 | public function getDateTimeFromTo(): void |
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 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | public function checkDate($date, ?string $format = null): string |
109 | 109 | { |
110 | - if (! $format) { |
|
110 | + if (!$format) { |
|
111 | 111 | $format = $this->format; |
112 | 112 | } |
113 | 113 |