Completed
Push — master ( 3dc30b...6a0dc0 )
by Jhao
04:34 queued 02:01
created
src/LaravelServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,19 +25,19 @@
 block discarded – undo
25 25
 
26 26
     public function register()
27 27
     {
28
-        $this->app->singleton(SingleAccessClient::class, static function (Container $app) {
28
+        $this->app->singleton(SingleAccessClient::class, static function(Container $app) {
29 29
             $config = $app['config']['services.russianpost.tracking'];
30 30
 
31 31
             return new SingleAccessClient($config['login'], $config['password']);
32 32
         });
33 33
 
34
-        $this->app->singleton(PacketAccessClient::class, static function (Container $app) {
34
+        $this->app->singleton(PacketAccessClient::class, static function(Container $app) {
35 35
             $config = $app['config']['services.russianpost.tracking'];
36 36
 
37 37
             return new PacketAccessClient($config['login'], $config['password']);
38 38
         });
39 39
 
40
-        $this->app->singleton(DispatchingClient::class, static function (Container $app) {
40
+        $this->app->singleton(DispatchingClient::class, static function(Container $app) {
41 41
             $config = $app['config']['services.russianpost.dispatching'];
42 42
 
43 43
             return new DispatchingClient($config['login'], $config['password'], $config['token']);
Please login to merge, or discard this patch.
src/Dispatching/Http/ApiClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         if (null === $this->serializer) {
77 77
             $this->serializer = SerializerBuilder::create()
78
-                ->configureHandlers(function (HandlerRegistryInterface $registry) {
78
+                ->configureHandlers(function(HandlerRegistryInterface $registry) {
79 79
                     foreach ($this->customDeserializators as $class => $handler) {
80 80
                         $registry->registerHandler('deserialization', $class, 'json', new $handler);
81 81
                     }
Please login to merge, or discard this patch.