@@ -43,7 +43,7 @@ |
||
| 43 | 43 | { |
| 44 | 44 | $control = $this->approveControlFactory->create(); |
| 45 | 45 | |
| 46 | - $control->onAnchor[] = function (ApproveControl $control) { |
|
| 46 | + $control->onAnchor[] = function(ApproveControl $control) { |
|
| 47 | 47 | if (!$this->redirectConfig) { |
| 48 | 48 | $this->error('RedirectConfig not set', IResponse::S500_INTERNAL_SERVER_ERROR); |
| 49 | 49 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function __construct(User $user, callable $credentialsValidator = null) |
| 23 | 23 | { |
| 24 | 24 | $this->user = $user; |
| 25 | - $this->credentialsValidator = $credentialsValidator ?: function () { |
|
| 25 | + $this->credentialsValidator = $credentialsValidator ?: function() { |
|
| 26 | 26 | try { |
| 27 | 27 | call_user_func_array([$this->user, 'login'], func_get_args()); |
| 28 | 28 | |