Completed
Push — master ( 27a5d2...ad3b69 )
by John
20s
created
src/Serialize/TypeResolver/TypeNameResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             return '';
50 50
         }
51 51
 
52
-        $getTypeFromReference = function ($schema) {
52
+        $getTypeFromReference = function($schema) {
53 53
             return $schema->{'x-type'} = substr($schema->{'x-ref-id'}, strrpos($schema->{'x-ref-id'}, '/') + 1);
54 54
         };
55 55
 
Please login to merge, or discard this patch.
src/Serialize/TypeResolver/ClassNameResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                 $suffix = "[]";
49 49
             }
50 50
             if (class_exists($fqcn = $this->qualify($resourceNamespace, $typeName))) {
51
-                return $fqcn . $suffix;
51
+                return $fqcn.$suffix;
52 52
             }
53 53
         }
54 54
 
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function qualify(string $resourceNamespace, string $typeName): string
65 65
     {
66
-        return ltrim($resourceNamespace . '\\' . $typeName, '\\');
66
+        return ltrim($resourceNamespace.'\\'.$typeName, '\\');
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
src/Document/Specification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function apply(callable  $f)
42 42
     {
43
-        $recurse = function (&$item) use ($f, &$recurse) {
43
+        $recurse = function(&$item) use ($f, &$recurse) {
44 44
 
45 45
             foreach ($item as $attribute => &$value) {
46 46
                 if (false === $f($value, $attribute)) {
Please login to merge, or discard this patch.