Passed
Push — master ( 57b992...49662c )
by Kirill
02:23
created
src/Invocation/Behaviour/HasDirectives.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string|null $name
38
-     * @return iterable|DirectiveInvocation[]|\Generator
38
+     * @return \Generator
39 39
      */
40 40
     public function getDirectives(string $name = null): iterable
41 41
     {
@@ -48,6 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param DirectiveInvocation ...$invocations
51
+     * @param DirectiveInvocation[] $invocations
51 52
      * @return ProvidesDirectives|$this
52 53
      */
53 54
     public function withDirective(DirectiveInvocation ...$invocations): ProvidesDirectives
Please login to merge, or discard this patch.
src/Invocation/DirectiveInvocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
      */
35 35
     public function __toString(): string
36 36
     {
37
-        return '@' . parent::__toString();
37
+        return '@'.parent::__toString();
38 38
     }
39 39
 }
Please login to merge, or discard this patch.