Completed
Push — master ( 898603...09a097 )
by Cesar
01:21
created
src/Service/PaypalService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 
244 244
     /**
245 245
      * @param string $orderId
246
-     * @return Payment|null
246
+     * @return null|HttpResponse
247 247
      */
248 248
     public function capturePayment(string $orderId): ?HttpResponse
249 249
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
             ->setNote($note)
207 207
             ->setReceiver($receiverEmail)
208 208
             ->setSenderItemId($itemId)
209
-            ->setAmount(new Currency(json_encode((object)[
209
+            ->setAmount(new Currency(json_encode((object) [
210 210
                 'value' => $amount,
211 211
                 'currency' => $currency,
212 212
             ])));
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
 use Symfony\Component\ErrorHandler\Debug;
6 6
 use Symfony\Component\HttpFoundation\Request;
7 7
 
8
-require dirname(__DIR__).'/vendor/autoload.php';
8
+require dirname(__DIR__) . '/vendor/autoload.php';
9 9
 
10
-(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
10
+(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
11 11
 
12 12
 if ($_SERVER['APP_DEBUG']) {
13 13
     umask(0000);
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -14,24 +14,24 @@
 block discarded – undo
14 14
     protected function configureContainer(ContainerConfigurator $container): void
15 15
     {
16 16
         $container->import('../config/{packages}/*.yaml');
17
-        $container->import('../config/{packages}/'.$this->environment.'/*.yaml');
17
+        $container->import('../config/{packages}/' . $this->environment . '/*.yaml');
18 18
 
19
-        if (is_file(\dirname(__DIR__).'/config/services.yaml')) {
19
+        if (is_file(\dirname(__DIR__) . '/config/services.yaml')) {
20 20
             $container->import('../config/{services}.yaml');
21
-            $container->import('../config/{services}_'.$this->environment.'.yaml');
22
-        } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) {
21
+            $container->import('../config/{services}_' . $this->environment . '.yaml');
22
+        } elseif (is_file($path = \dirname(__DIR__) . '/config/services.php')) {
23 23
             (require $path)($container->withPath($path), $this);
24 24
         }
25 25
     }
26 26
 
27 27
     protected function configureRoutes(RoutingConfigurator $routes): void
28 28
     {
29
-        $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');
29
+        $routes->import('../config/{routes}/' . $this->environment . '/*.yaml');
30 30
         $routes->import('../config/{routes}/*.yaml');
31 31
 
32
-        if (is_file(\dirname(__DIR__).'/config/routes.yaml')) {
32
+        if (is_file(\dirname(__DIR__) . '/config/routes.yaml')) {
33 33
             $routes->import('../config/{routes}.yaml');
34
-        } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) {
34
+        } elseif (is_file($path = \dirname(__DIR__) . '/config/routes.php')) {
35 35
             (require $path)($routes->withPath($path), $this);
36 36
         }
37 37
     }
Please login to merge, or discard this patch.