Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Validator/ErrorContainer/ErrorContainerInterface.php 2 patches
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -18,15 +18,27 @@
 block discarded – undo
18 18
 
19 19
 interface ErrorContainerInterface
20 20
 {
21
+    /**
22
+     * @return ErrorContainerTrait
23
+     */
21 24
     public function addError(\Exception $exception);
22 25
 
26
+    /**
27
+     * @return ErrorContainerTrait
28
+     */
23 29
     public function mergeErrors(self $errorContainer);
24 30
 
31
+    /**
32
+     * @return boolean
33
+     */
25 34
     public function hasErrors();
26 35
 
27 36
     public function getErrors();
28 37
 
29 38
     public function getErrorsArray();
30 39
 
40
+    /**
41
+     * @return ErrorContainerTrait
42
+     */
31 43
     public function clearErrors();
32 44
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 27.11.15.
15 15
  */
Please login to merge, or discard this patch.
src/Validator/RequestValidator/RequestValidatorInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,5 +20,8 @@
 block discarded – undo
20 20
 
21 21
 interface RequestValidatorInterface
22 22
 {
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function validate(Request $request);
24 27
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 10/24/16.
15 15
  */
Please login to merge, or discard this patch.
src/Validator/ResolveValidator/ResolveValidatorInterface.php 2 patches
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -25,13 +25,28 @@
 block discarded – undo
25 25
 
26 26
 interface ResolveValidatorInterface
27 27
 {
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function assetTypeHasField(AbstractType $objectType, AstFieldInterface $ast);
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function assertValidArguments(FieldInterface $field, AstFieldInterface $query, Request $request);
31 37
 
38
+    /**
39
+     * @return void
40
+     */
32 41
     public function assertValidResolvedValueForField(FieldInterface $field, $resolvedValue);
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function assertTypeImplementsInterface(AbstractType $type, AbstractInterfaceType $interface);
35 47
 
48
+    /**
49
+     * @return void
50
+     */
36 51
     public function assertTypeInUnionTypes(AbstractType $type, AbstractUnionType $unionType);
37 52
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 01.12.15.
15 15
  */
Please login to merge, or discard this patch.
src/Type/InterfaceType/InterfaceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 12.05.16.
15 15
  */
Please login to merge, or discard this patch.
src/Type/InterfaceType/AbstractInterfaceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of GraphQL project.
15 15
  *
Please login to merge, or discard this patch.
src/Type/CompositeTypeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Youshido\GraphQL\Type;
15 15
 
Please login to merge, or discard this patch.
src/Type/Scalar/DateType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of graphql-youshido project.
15 15
  *
Please login to merge, or discard this patch.
src/Type/Scalar/DateTimeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of graphql-youshido project.
15 15
  *
Please login to merge, or discard this patch.
src/Type/Scalar/TimestampType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of graphql-youshido project.
15 15
  *
Please login to merge, or discard this patch.