Completed
Pull Request — master (#1)
by Anton
02:15
created
src/AmoCrmApiServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.