@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | public function visitor($visitorID, $sessionID, $setData = false) |
123 | 123 | { |
124 | - if (! $this->domain) { |
|
124 | + if (!$this->domain) { |
|
125 | 125 | $this->domain('smt'); |
126 | 126 | } |
127 | 127 | |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | public function agentStatus() |
140 | 140 | { |
141 | - if (! $this->domain) { |
|
141 | + if (!$this->domain) { |
|
142 | 142 | $this->domain('msgHist'); |
143 | 143 | } |
144 | 144 | |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | |
150 | 150 | final public function retrieveHistory(Carbon $start, Carbon $end, $url = false) |
151 | 151 | { |
152 | - if (! $this->domain) { |
|
152 | + if (!$this->domain) { |
|
153 | 153 | $this->domain('engHistDomain'); |
154 | 154 | } |
155 | 155 | |
@@ -162,8 +162,8 @@ discard block |
||
162 | 162 | 'interactive' => $this->interactive, |
163 | 163 | 'ended' => $this->ended, |
164 | 164 | 'start' => [ |
165 | - 'from' => strtotime($start_str).'000', |
|
166 | - 'to' => strtotime($end_str).'000', |
|
165 | + 'from' => strtotime($start_str) . '000', |
|
166 | + 'to' => strtotime($end_str) . '000', |
|
167 | 167 | ], |
168 | 168 | ]; |
169 | 169 | if (count($this->skills)) { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | |
178 | 178 | final public function retrieveMsgHistory(Carbon $start, Carbon $end, $url = false) |
179 | 179 | { |
180 | - if (! $this->domain) { |
|
180 | + if (!$this->domain) { |
|
181 | 181 | $this->domain('msgHist'); |
182 | 182 | } |
183 | 183 | |
@@ -190,8 +190,8 @@ discard block |
||
190 | 190 | 'interactive' => $this->interactive, |
191 | 191 | 'ended' => $this->ended, |
192 | 192 | 'start' => [ |
193 | - 'from' => strtotime($start_str).'000', |
|
194 | - 'to' => strtotime($end_str).'000', |
|
193 | + 'from' => strtotime($start_str) . '000', |
|
194 | + 'to' => strtotime($end_str) . '000', |
|
195 | 195 | ], |
196 | 196 | ]; |
197 | 197 | if (count($this->skills)) { |