Completed
Push — master ( 979590...f7b9af )
by John
06:14
created
src/DependencyInjection/KleijnWebSwaggerExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function load(array $configs, ContainerBuilder $container)
27 27
     {
28 28
         $config = $this->processConfiguration(new Configuration(), $configs);
29
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
29
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30 30
         $loader->load('services.yml');
31 31
 
32 32
         if ($config['handle_exceptions']) {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $dateTimeSerializerDefinition = $container->getDefinition('swagger.hydrator.class_name_resolver');
51 51
             if (isset($config['hydrator']['date_formats'])) {
52 52
                 foreach ($config['hydrator']['date_formats'] as $format) {
53
-                    $predefinedFormat = DateTimeSerializer::class . "::FORMAT_{$format}";
53
+                    $predefinedFormat = DateTimeSerializer::class."::FORMAT_{$format}";
54 54
                     if (defined($predefinedFormat)) {
55 55
                         $format = constant($predefinedFormat);
56 56
                     }
Please login to merge, or discard this patch.