Completed
Push — master ( d8197d...ad0b73 )
by Kévin
09:22 queued 01:19
created
src/Compiler/AbstractCompiler.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -16,6 +16,11 @@  discard block
 block discarded – undo
16 16
         $this->parser = $parser;
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $rule
21
+     *
22
+     * @return string
23
+     */
19 24
     protected function compileToSource($rule, Target\CompilationTarget $compilationTarget, array $parameters)
20 25
     {
21 26
         $ast           = $this->parser->parse($rule);
@@ -51,6 +56,9 @@  discard block
 block discarded – undo
51 56
 EXECUTOR;
52 57
     }
53 58
 
59
+    /**
60
+     * @param string $rule
61
+     */
54 62
     protected function getRuleIdentifier(Target\CompilationTarget $compilationTarget, $rule)
55 63
     {
56 64
         return hash('crc32b', get_class($compilationTarget) . $rule);
Please login to merge, or discard this patch.