@@ -98,7 +98,7 @@ |
||
| 98 | 98 | try { |
| 99 | 99 | $this->client = new SoapClient($this->getConfig('wsdl'), $options); |
| 100 | 100 | return (bool)$this->client; |
| 101 | - } catch(SoapFault $fault) { |
|
| 101 | + } catch (SoapFault $fault) { |
|
| 102 | 102 | $this->showError($fault->faultstring); |
| 103 | 103 | } |
| 104 | 104 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | Router::defaultRouteClass(DashedRoute::class); |
| 48 | 48 | |
| 49 | -Router::scope('/', function (RouteBuilder $routes) { |
|
| 49 | +Router::scope('/', function(RouteBuilder $routes) { |
|
| 50 | 50 | // Register scoped middleware for in scopes. |
| 51 | 51 | $routes->registerMiddleware('csrf', new CsrfProtectionMiddleware([ |
| 52 | 52 | 'httpOnly' => true |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $routes->fallbacks(DashedRoute::class); |
| 93 | 93 | }); |
| 94 | 94 | |
| 95 | -Router::plugin('VatNumberCheck', ['path' => '/vat_number_check'], function (RouteBuilder $routes) { |
|
| 95 | +Router::plugin('VatNumberCheck', ['path' => '/vat_number_check'], function(RouteBuilder $routes) { |
|
| 96 | 96 | $routes->addExtensions(['json']); |
| 97 | 97 | $routes->fallbacks(InflectedRoute::class); |
| 98 | 98 | }); |