@@ -150,8 +150,8 @@ discard block |
||
| 150 | 150 | 'interactive' => $this->interactive, |
| 151 | 151 | 'ended' => $this->ended, |
| 152 | 152 | 'start' => [ |
| 153 | - 'from' => strtotime($start_str).'000', |
|
| 154 | - 'to' => strtotime($end_str).'000', |
|
| 153 | + 'from' => strtotime($start_str) . '000', |
|
| 154 | + 'to' => strtotime($end_str) . '000', |
|
| 155 | 155 | ], |
| 156 | 156 | ]; |
| 157 | 157 | if (count($this->skills)) { |
@@ -176,8 +176,8 @@ discard block |
||
| 176 | 176 | 'interactive' => $this->interactive, |
| 177 | 177 | 'ended' => $this->ended, |
| 178 | 178 | 'start' => [ |
| 179 | - 'from' => strtotime($start_str).'000', |
|
| 180 | - 'to' => strtotime($end_str).'000', |
|
| 179 | + 'from' => strtotime($start_str) . '000', |
|
| 180 | + 'to' => strtotime($end_str) . '000', |
|
| 181 | 181 | ], |
| 182 | 182 | ]; |
| 183 | 183 | if (count($this->skills)) { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function state($state = 'ONLINE') |
| 21 | 21 | { |
| 22 | - $result = $this->filter(function ($value, $key) use ($state) { |
|
| 22 | + $result = $this->filter(function($value, $key) use ($state) { |
|
| 23 | 23 | return strtolower($value->currentStatus) == strtolower($state); |
| 24 | 24 | }); |
| 25 | 25 | |