Passed
Pull Request — master (#15)
by
unknown
03:56
created
src/Provider/SerializationProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,30 +23,30 @@
 block discarded – undo
23 23
      */
24 24
     public function register(Container $container)
25 25
     {
26
-        $container['serializer'] = function () use ($container) {
26
+        $container['serializer'] = function() use ($container) {
27 27
             return new Serializer($container['serializer.normalizer'], $container['serializer.encoder']);
28 28
         };
29 29
 
30
-        $container['serializer.normalizer'] = function () use ($container) {
30
+        $container['serializer.normalizer'] = function() use ($container) {
31 31
             return new Normalizer(
32 32
                 $container['serializer.normalizer.objectmappingregistry'],
33 33
                 $container['logger'] ?? null
34 34
             );
35 35
         };
36 36
 
37
-        $container['serializer.normalizer.objectmappingregistry'] = function () use ($container) {
37
+        $container['serializer.normalizer.objectmappingregistry'] = function() use ($container) {
38 38
             return new NormalizerObjectMappingRegistry($container['serializer.normalizer.objectmappings']);
39 39
         };
40 40
 
41
-        $container['serializer.normalizer.objectmappings'] = function () {
41
+        $container['serializer.normalizer.objectmappings'] = function() {
42 42
             return [];
43 43
         };
44 44
 
45
-        $container['serializer.encoder'] = function () use ($container) {
45
+        $container['serializer.encoder'] = function() use ($container) {
46 46
             return new Encoder($container['serializer.encodertypes']);
47 47
         };
48 48
 
49
-        $container['serializer.encodertypes'] = function () {
49
+        $container['serializer.encodertypes'] = function() {
50 50
             $encoderTypes = [];
51 51
 
52 52
             $encoderTypes[] = new JsonTypeEncoder();
Please login to merge, or discard this patch.
src/Accessor/PropertyAccessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         }
37 37
 
38 38
         $getter = \Closure::bind(
39
-            function ($property) {
39
+            function($property) {
40 40
                 return $this->$property;
41 41
             },
42 42
             $object,
Please login to merge, or discard this patch.