Completed
Push — master ( c2785f...c09443 )
by Kirill
07:19
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
 
@@ -40,17 +40,17 @@  discard block
 block discarded – undo
40 40
         return new ObjectType([
41 41
             'name'         => $this->type->getName(),
42 42
             'description'  => $this->getDescription(),
43
-            'fields'       => function (): array {
43
+            'fields'       => function(): array {
44 44
                 return iterator_to_array($this->getObjectFields());
45 45
             },
46
-            'resolveField' => function ($value, array $args = [], $context, ResolveInfo $info) {
46
+            'resolveField' => function($value, array $args = [], $context, ResolveInfo $info) {
47 47
                 $input = new Input($args, $info);
48 48
 
49
-                $this->events->dispatch('request:' . $input->getPath(), $input);
49
+                $this->events->dispatch('request:'.$input->getPath(), $input);
50 50
 
51 51
                 $value = $this->fetchData($input, $value);
52 52
 
53
-                $this->events->dispatch('response:' . $input->getPath(), $value, $input);
53
+                $this->events->dispatch('response:'.$input->getPath(), $value, $input);
54 54
 
55 55
                 return $value;
56 56
             },
Please login to merge, or discard this patch.
src/Output.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 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;
11 11
 
Please login to merge, or discard this patch.