Passed
Push — master ( c9f601...e28259 )
by
unknown
02:58
created
src/YaKassa.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     public function verify(): bool
86 86
     {
87
-        if (! in_array($this->request->getAction(), ['checkOrder', 'paymentAviso'], true)) {
87
+        if (!in_array($this->request->getAction(), ['checkOrder', 'paymentAviso'], true)) {
88 88
             return false;
89 89
         }
90 90
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $source['shopId'] = $this->shopId;
98 98
         $source['orderSumAmount'] = $this->genuineAmount;
99 99
 
100
-        uksort($source, function ($a, $b) {
100
+        uksort($source, function($a, $b) {
101 101
             return
102 102
                 array_search($a, self::$significantFields, true)
103 103
                 <=>
Please login to merge, or discard this patch.
src/YaKassaServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function register(): void
27 27
     {
28
-        $this->app->bind('appwilio.yakassa', function ($app) {
28
+        $this->app->bind('appwilio.yakassa', function($app) {
29 29
             $config = $app['config']['services.yakassa'];
30 30
 
31 31
             $yaKassa = new YaKassa(
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         });
37 37
         $this->app->alias('appwilio.yakassa', YaKassa::class);
38 38
 
39
-        $this->app->bind('appwilio.yakassa.request', function ($app) {
39
+        $this->app->bind('appwilio.yakassa.request', function($app) {
40 40
             return new YaKassaRequest($app['request']->request->all());
41 41
         });
42 42
         $this->app->alias('appwilio.yakassa.request', YaKassaRequest::class);
Please login to merge, or discard this patch.