Completed
Push — master ( cbfed7...c39fb6 )
by Rafael
05:06
created
src/Type/AbstractInputObjectType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
             [
46 46
                 'name' => $definition->getName(),
47 47
                 'description' => $definition->getDescription(),
48
-                'fields' => function () {
48
+                'fields' => function() {
49 49
                     return $this->resolveFields();
50 50
                 },
51
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
51
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
52 52
                     $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
53 53
 
54 54
                     return $resolver($root, $args, $context, $resolveInfo);
Please login to merge, or discard this patch.
src/Type/AbstractObjectType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,18 +44,18 @@
 block discarded – undo
44 44
             [
45 45
                 'name' => $definition->getName(),
46 46
                 'description' => $definition->getDescription(),
47
-                'fields' => function () {
47
+                'fields' => function() {
48 48
                     return $this->resolveFields();
49 49
                 },
50
-                'interfaces' => function () {
50
+                'interfaces' => function() {
51 51
                     return $this->resolveInterfaces();
52 52
                 },
53
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
53
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
54 54
                     $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
55 55
 
56 56
                     return $resolver($root, $args, $context, $resolveInfo);
57 57
                 },
58
-                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
58
+                'isTypeOf' => function($value, $context, ResolveInfo $info) {
59 59
                     //TODO: implement this
60 60
                 },
61 61
             ]
Please login to merge, or discard this patch.
src/Query/Node/AllNodes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
         $paramName = 'root'.mt_rand();
101 101
         $qb->andWhere(sprintf('%s.%s = :%s', $this->queryAlias, $parentField, $paramName))
102
-           ->setParameter($paramName, $root);
102
+            ->setParameter($paramName, $root);
103 103
     }
104 104
 
105 105
     /**
Please login to merge, or discard this patch.
src/Definition/ExecutableDefinitionInterface.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
      * {@inheritDoc}
22 22
      */
23
-    public function getResolver():?string;
23
+    public function getResolver(): ?string;
24 24
 
25 25
     /**
26 26
      * {@inheritDoc}
Please login to merge, or discard this patch.
Loader/Annotation/FieldDecorator/DoctrineFieldDefinitionDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      *
100 100
      * @return string
101 101
      */
102
-    protected function getNormalizedType(?string $type):?string
102
+    protected function getNormalizedType(?string $type) : ?string
103 103
     {
104 104
         switch ($type) {
105 105
             case DoctrineType::BOOLEAN:
Please login to merge, or discard this patch.
src/Definition/Loader/Annotation/ObjectTypeAnnotationParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
         //sort by priority
292 292
         usort(
293 293
             $decorators,
294
-            function ($service1, $service2) {
294
+            function($service1, $service2) {
295 295
                 list($priority1) = $service1;
296 296
                 list($priority2) = $service2;
297 297
 
Please login to merge, or discard this patch.
src/Definition/Loader/AnnotationLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         //sort by priority
78 78
         usort(
79 79
             $resolvers,
80
-            function ($service1, $service2) {
80
+            function($service1, $service2) {
81 81
                 list($priority1) = $service1;
82 82
                 list($priority2) = $service2;
83 83
 
Please login to merge, or discard this patch.
src/Definition/Traits/ExecutableDefinitionTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @return null|string
28 28
      */
29
-    public function getResolver():?string
29
+    public function getResolver(): ?string
30 30
     {
31 31
         return $this->resolver;
32 32
     }
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.