@@ -48,11 +48,11 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function getDateTime(): void |
50 | 50 | { |
51 | - if ($this->dateTime && (! $this->dateTimeFrom || ! $this->dateTimeTo)) { |
|
51 | + if ($this->dateTime && (!$this->dateTimeFrom || !$this->dateTimeTo)) { |
|
52 | 52 | $this->methodProperties['DateTime'] = $this->dateTime; |
53 | 53 | } |
54 | 54 | |
55 | - if (! $this->dateTime) { |
|
55 | + if (!$this->dateTime) { |
|
56 | 56 | $this->dateTime = Carbon::now()->format($this->format); |
57 | 57 | $this->methodProperties['DateTime'] = $this->dateTime; |
58 | 58 | } |
@@ -64,10 +64,10 @@ discard block |
||
64 | 64 | public function getDateTimeFromTo(): void |
65 | 65 | { |
66 | 66 | if ($this->dateTimeFrom || $this->dateTimeTo) { |
67 | - if (! $this->dateTimeTo) { |
|
67 | + if (!$this->dateTimeTo) { |
|
68 | 68 | $this->dateTimeTo = Carbon::now()->format($this->format); |
69 | 69 | } |
70 | - if (! $this->dateTimeFrom) { |
|
70 | + if (!$this->dateTimeFrom) { |
|
71 | 71 | $this->dateTimeFrom = $this->dateTimeTo; |
72 | 72 | } |
73 | 73 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | */ |
113 | 113 | public function checkDate($date, ?string $format = null): string |
114 | 114 | { |
115 | - if (! $format) { |
|
115 | + if (!$format) { |
|
116 | 116 | $format = $this->format; |
117 | 117 | } |
118 | 118 | |
@@ -148,11 +148,11 @@ discard block |
||
148 | 148 | |
149 | 149 | public function getDateBeginEnd() |
150 | 150 | { |
151 | - if($this->dateBegin) { |
|
151 | + if ($this->dateBegin) { |
|
152 | 152 | $this->methodProperties['BeginDate'] = $this->dateBegin; |
153 | 153 | } |
154 | 154 | |
155 | - if($this->dateEnd) { |
|
155 | + if ($this->dateEnd) { |
|
156 | 156 | $this->methodProperties['EndDate'] = $this->dateEnd; |
157 | 157 | } |
158 | 158 | } |