Completed
Push — master ( 9e9a0d...740d0f )
by Rafael
04:13
created
src/Definition/Traits/ClassAwareDefinitionTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @return ClassAwareDefinitionInterface
35 35
      */
36
-    public function setClass(?string $class): ClassAwareDefinitionInterface
36
+    public function setClass(?string $class) : ClassAwareDefinitionInterface
37 37
     {
38 38
         $this->class = $class;
39 39
 
Please login to merge, or discard this patch.
src/Definition/Traits/DefinitionTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return DefinitionInterface
40 40
      */
41
-    public function setName(?string $name): DefinitionInterface
41
+    public function setName(?string $name) : DefinitionInterface
42 42
     {
43 43
         $this->name = $name;
44 44
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @return DefinitionInterface
60 60
      */
61
-    public function setDescription(?string $description): DefinitionInterface
61
+    public function setDescription(?string $description) : DefinitionInterface
62 62
     {
63 63
         $this->description = $description;
64 64
 
Please login to merge, or discard this patch.
src/Definition/DefinitionInterface.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
      * @return DefinitionInterface
27 27
      */
28
-    public function setName(?string $name): DefinitionInterface;
28
+    public function setName(?string $name) : DefinitionInterface;
29 29
 
30 30
     /**
31 31
      * @return string
@@ -37,5 +37,5 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return DefinitionInterface
39 39
      */
40
-    public function setDescription(?string $description): DefinitionInterface;
40
+    public function setDescription(?string $description) : DefinitionInterface;
41 41
 }
Please login to merge, or discard this patch.
src/Definition/ArgumentDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      *
162 162
      * @return ArgumentDefinition
163 163
      */
164
-    public function setInternalName(?string $internalName): ArgumentDefinition
164
+    public function setInternalName(?string $internalName) : ArgumentDefinition
165 165
     {
166 166
         $this->internalName = $internalName;
167 167
 
Please login to merge, or discard this patch.
src/Schema/SchemaCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         $config = [
70 70
             'types' => Types::all(),
71
-            'typeLoader' => function ($name) {
71
+            'typeLoader' => function($name) {
72 72
                 return Types::get($name);
73 73
             },
74 74
         ];
Please login to merge, or discard this patch.
src/Definition/Traits/NodeAwareDefinitionTrait.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
      * @return mixed
27 27
      */
28
-    public function getNode():?string
28
+    public function getNode(): ?string
29 29
     {
30 30
         return $this->node;
31 31
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return NodeAwareDefinitionInterface
37 37
      */
38
-    public function setNode(?string $node): NodeAwareDefinitionInterface
38
+    public function setNode(?string $node) : NodeAwareDefinitionInterface
39 39
     {
40 40
         $this->node = $node;
41 41
 
Please login to merge, or discard this patch.
src/Definition/ObjectDefinition.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
     /**
50 50
      * {@inheritDoc}
51 51
      */
52
-    public function setNode(?string $node): NodeAwareDefinitionInterface
52
+    public function setNode(?string $node) : NodeAwareDefinitionInterface
53 53
     {
54 54
         $this->setClass($node);
55 55
 
Please login to merge, or discard this patch.
src/Definition/NodeAwareDefinitionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @return NodeAwareDefinitionInterface
22 22
      */
23
-    public function setNode(?string $node): NodeAwareDefinitionInterface;
23
+    public function setNode(?string $node) : NodeAwareDefinitionInterface;
24 24
 
25 25
     /**
26 26
      * @return null|string
Please login to merge, or discard this patch.
src/Definition/Extension/MutationFormResolverExtension.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -67,22 +67,22 @@
 block discarded – undo
67 67
             ->children();
68 68
 
69 69
         $config->variableNode('type')
70
-               ->defaultNull()
71
-               ->info(
72
-                   'Specify the form type to use,
70
+                ->defaultNull()
71
+                ->info(
72
+                    'Specify the form type to use,
73 73
 [string] Name of the form type to use
74 74
 [true|null] The form will be automatically resolved to ...Bundle\Form\Input\{Node}\{MutationName}Input.
75 75
 [true] Throw a exception if the form can`t be located
76 76
 [false] The form is not required and should not be resolved'
77
-               );
77
+                );
78 78
         $config->variableNode('options')->defaultValue([])->info('Form options');
79 79
         $config->variableNode('argument')
80
-               ->defaultValue('input')
81
-               ->info('Name of the argument to use as input');
80
+                ->defaultValue('input')
81
+                ->info('Name of the argument to use as input');
82 82
 
83 83
         $config->booleanNode('client_mutation_id')
84
-               ->defaultTrue()
85
-               ->info('Automatically add a field called clientMutationId');
84
+                ->defaultTrue()
85
+                ->info('Automatically add a field called clientMutationId');
86 86
     }
87 87
 
88 88
     /**
Please login to merge, or discard this patch.