Completed
Push — master ( 11eb7b...58afbd )
by Portey
04:04
created
Tests/Type/Union/Schema/FirstType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Date: 16.12.15
4
- *
5
- * @author Portey Vasil <[email protected]>
6
- */
3
+     * Date: 16.12.15
4
+     *
5
+     * @author Portey Vasil <[email protected]>
6
+     */
7 7
 
8 8
 namespace Youshido\Tests\Type\Union\Schema;
9 9
 
Please login to merge, or discard this patch.
src/Validator/ResolveValidator/ResolveValidator.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
     public function validateArguments($field, $query, $request)
27 27
     {
28
-        $requiredArguments = array_filter($field->getConfig()->getArguments(), function (InputField $argument) {
28
+        $requiredArguments = array_filter($field->getConfig()->getArguments(), function(InputField $argument) {
29 29
             return $argument->getConfig()->get('required');
30 30
         });
31 31
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             case TypeMap::KIND_INTERFACE:
80 80
                 return is_object($value) || is_null($value) || is_array($value);
81 81
             case TypeMap::KIND_LIST:
82
-                return is_null($value)|| is_array($value) || (is_object($value) && in_array('IteratorAggregate', class_implements($value)));
82
+                return is_null($value) || is_array($value) || (is_object($value) && in_array('IteratorAggregate', class_implements($value)));
83 83
         }
84 84
 
85 85
         return false;
Please login to merge, or discard this patch.
src/Definition/QueryType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
             ->addField('kind', TypeMap::TYPE_STRING)
25 25
             ->addField('description', TypeMap::TYPE_STRING)
26 26
             ->addField('ofType', new QueryType(), [
27
-                'resolve' => function ($value) {
28
-                    if($value->getKind() == TypeMap::KIND_LIST){
27
+                'resolve' => function($value) {
28
+                    if ($value->getKind() == TypeMap::KIND_LIST) {
29 29
                         return $value->getConfig()->getItem();
30 30
                     }
31 31
 
Please login to merge, or discard this patch.