Completed
Push — master ( ee9170...1dcd4f )
by Kirill
03:45
created
src/Compiler/Definition/DirectiveDelegate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param DirectiveDefinition $definition
58
-     * @return iterable|DirectiveLocation[]
58
+     * @return \Generator
59 59
      */
60 60
     private function getLocations(DirectiveDefinition $definition): iterable
61 61
     {
Please login to merge, or discard this patch.
src/Compiler/Definition/EnumDelegate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * @param EnumDefinition $enum
59
-     * @return iterable
59
+     * @return \Generator
60 60
      */
61 61
     private function getEnumValues(EnumDefinition $enum): iterable
62 62
     {
Please login to merge, or discard this patch.
src/Compiler/Value/StringValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param NodeInterface|RuleInterface $rule
41
-     * @return mixed|string
41
+     * @return string
42 42
      */
43 43
     protected function parse(NodeInterface $rule): string
44 44
     {
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@  discard block
 block discarded – undo
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14 14
 use Railt\Parser\Environment;
15
-use Railt\Parser\Exception\UnexpectedTokenException;
16 15
 use Railt\Parser\Exception\UnrecognizedTokenException;
17 16
 use Railt\Reflection\Contracts\Definition;
18 17
 use Railt\Reflection\Contracts\Dictionary;
@@ -21,7 +20,6 @@  discard block
 block discarded – undo
21 20
 use Railt\Reflection\Dictionary\CallbackDictionary;
22 21
 use Railt\Reflection\Document;
23 22
 use Railt\Reflection\Reflection;
24
-use Railt\SDL\Compiler\Compilable;
25 23
 use Railt\SDL\Compiler\Pipeline;
26 24
 use Railt\SDL\Exception\CompilerException;
27 25
 use Railt\SDL\Exception\SyntaxException;
Please login to merge, or discard this patch.