@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function __call($name, $arguments) |
| 25 | 25 | { |
| 26 | - if(method_exists($this->strategy, $name)) |
|
| 26 | + if (method_exists($this->strategy, $name)) |
|
| 27 | 27 | { |
| 28 | 28 | return $this->strategy->$name($arguments); |
| 29 | 29 | } |
@@ -44,10 +44,10 @@ |
||
| 44 | 44 | $comments = $request['comments']; |
| 45 | 45 | |
| 46 | 46 | $vacancies = $this->calendar() |
| 47 | - ->forService($service->id) |
|
| 48 | - ->forDate($request['date']) |
|
| 49 | - ->atTime($request['time']) |
|
| 50 | - ->find(); |
|
| 47 | + ->forService($service->id) |
|
| 48 | + ->forDate($request['date']) |
|
| 49 | + ->atTime($request['time']) |
|
| 50 | + ->find(); |
|
| 51 | 51 | |
| 52 | 52 | if ($vacancies->count() == 0) { |
| 53 | 53 | // Log failure feedback message |