@@ -33,7 +33,7 @@ discard block  | 
                                                    ||
| 33 | 33 | /**  | 
                                                        
| 34 | 34 | * Local config file path.  | 
                                                        
| 35 | 35 | */  | 
                                                        
| 36 | - private const CONFIG_PATH = __DIR__.'/../config/amocrm-api.php';  | 
                                                        |
| 36 | + private const CONFIG_PATH = __DIR__ . '/../config/amocrm-api.php';  | 
                                                        |
| 37 | 37 | |
| 38 | 38 | /**  | 
                                                        
| 39 | 39 | * @var array List of services  | 
                                                        
@@ -91,7 +91,7 @@ discard block  | 
                                                    ||
| 91 | 91 | */  | 
                                                        
| 92 | 92 | private function bootRequestHandler()  | 
                                                        
| 93 | 93 |      { | 
                                                        
| 94 | -        $this->app->singleton(RequestHandler::class, function ($app) { | 
                                                        |
| 94 | +        $this->app->singleton(RequestHandler::class, function($app) { | 
                                                        |
| 95 | 95 | $request = new \linkprofit\AmoCRM\RequestHandler();  | 
                                                        
| 96 | 96 |              $request->setSubdomain(config('amocrm.domain')); | 
                                                        
| 97 | 97 | $connection = new \linkprofit\AmoCRM\entities\Authorization(  | 
                                                        
@@ -112,7 +112,7 @@ discard block  | 
                                                    ||
| 112 | 112 | private function bootServices()  | 
                                                        
| 113 | 113 |      { | 
                                                        
| 114 | 114 |          foreach ($this->services as $service) { | 
                                                        
| 115 | -            $this->app->singleton($service, function ($app) use ($service) { | 
                                                        |
| 115 | +            $this->app->singleton($service, function($app) use ($service) { | 
                                                        |
| 116 | 116 | $request = $app->make(\linkprofit\AmoCRM\RequestHandler::class);  | 
                                                        
| 117 | 117 | $service = new $service($request);  | 
                                                        
| 118 | 118 | |