Completed
Push — master ( 1e4f77...826c6e )
by Kirill
02:10
created
src/Builder/ObjectTypeBuilder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Adapters\Webonyx\Builder;
11 11
 
@@ -39,17 +39,17 @@  discard block
 block discarded – undo
39 39
         return new ObjectType([
40 40
             'name'         => $this->type->getName(),
41 41
             'description'  => $this->getDescription(),
42
-            'fields'       => function (): array {
42
+            'fields'       => function(): array {
43 43
                 return iterator_to_array($this->getObjectFields());
44 44
             },
45
-            'resolveField' => function ($value, array $args = [], $context, ResolveInfo $info) {
45
+            'resolveField' => function($value, array $args = [], $context, ResolveInfo $info) {
46 46
                 $input = new Input($args, $info);
47 47
 
48
-                $this->events->dispatch('request:' . $input->getPath(), $input);
48
+                $this->events->dispatch('request:'.$input->getPath(), $input);
49 49
 
50 50
                 $value = $this->fetchData($input, $value, $context);
51 51
 
52
-                $this->events->dispatch('response:' . $input->getPath(), $value, $input);
52
+                $this->events->dispatch('response:'.$input->getPath(), $value, $input);
53 53
 
54 54
                 return $value;
55 55
             },
Please login to merge, or discard this patch.