Completed
Push — master ( 7a0180...875ce0 )
by Alexandr
02:39
created
src/Parser/Ast/Fragment.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param mixed $name
63
+     * @param string $name
64 64
      */
65 65
     public function setName($name)
66 66
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @param mixed $model
79
+     * @param string $model
80 80
      */
81 81
     public function setModel($model)
82 82
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @return Field[]|Query[]
87
+     * @return Query[]
88 88
      */
89 89
     public function getFields()
90 90
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param Field[]|Query[] $fields
95
+     * @param Field[] $fields
96 96
      */
97 97
     public function setFields($fields)
98 98
     {
Please login to merge, or discard this patch.
src/Parser/Ast/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @return Field[]|Query[]|FragmentInterface[]
77
+     * @return Query[]
78 78
      */
79 79
     public function getFields()
80 80
     {
Please login to merge, or discard this patch.
src/Parser/Ast/TypedFragmentReference.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return Field[]|Query[]
31
+     * @return Field[]
32 32
      */
33 33
     public function getFields()
34 34
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param Field[]|Query[] $fields
39
+     * @param Field[] $fields
40 40
      */
41 41
     public function setFields($fields)
42 42
     {
Please login to merge, or discard this patch.
src/Type/InterfaceType/InterfaceType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
     {
26 26
     }
27 27
 
28
+    /**
29
+     * @param \Youshido\GraphQL\Type\Object\ObjectType $object
30
+     */
28 31
     public function resolveType($object)
29 32
     {
30 33
         return $this->getConfig()->resolveType($object);
Please login to merge, or discard this patch.
src/Type/Object/AbstractObjectType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         return $this->getConfigValue('interfaces', []);
88 88
     }
89 89
 
90
+    /**
91
+     * @param ObjectType|null $value
92
+     */
90 93
     public function isValidValue($value)
91 94
     {
92 95
         return is_array($value) || is_null($value) || is_object($value);
Please login to merge, or discard this patch.
src/Config/Traits/ResolvableObjectTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 trait ResolvableObjectTrait
15 15
 {
16 16
 
17
+    /**
18
+     * @param string|boolean $value
19
+     */
17 20
     public function resolve($value, array $args, ResolveInfo $info)
18 21
     {
19 22
         if ($resolveFunction = $this->getConfig()->getResolveFunction()) {
Please login to merge, or discard this patch.
src/Execution/Reducer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      * Fragments (anonymous and named), and Fields.  The core of the function is simple: recurse until we hit the base
93 93
      * case of a Field and yield that back up to the visitor up in `doVisit`.
94 94
      *
95
-     * @param Query|Field|\Youshido\GraphQL\Parser\Ast\Interfaces\FragmentInterface $queryNode
95
+     * @param Query $queryNode
96 96
      * @param FieldInterface                                                        $currentLevelAST
97 97
      *
98 98
      * @return \Generator
Please login to merge, or discard this patch.
src/Parser/Token.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
51 51
     /** @var integer */
52 52
     private $column;
53 53
 
54
+    /**
55
+     * @param integer $line
56
+     * @param integer $column
57
+     */
54 58
     public function __construct($type, $line, $column, $data = null)
55 59
     {
56 60
         $this->type = $type;
Please login to merge, or discard this patch.
src/Config/Traits/ArgumentsAwareConfigTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
         return $this->arguments;
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $name
103
+     */
101 104
     public function removeArgument($name)
102 105
     {
103 106
         if ($this->hasArgument($name)) {
Please login to merge, or discard this patch.