Completed
Pull Request — master (#90)
by Kévin
06:52
created
src/Target/GenericVisitor.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         return $this->compileRuntimeOperator($operatorName, $element->getArguments(), $handle, $eldnah);
113 113
     }
114 114
 
115
+    /**
116
+     * @param string $operatorName
117
+     */
115 118
     private function compileRuntimeOperator($operatorName, array $arguments, &$handle = null, $eldnah = null)
116 119
     {
117 120
         $compiledArguments = array_map(function ($argument) use (&$handle, $eldnah) {
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         return sprintf('call_user_func($operators["%s"]%s)', $operatorName, $inlinedArguments);
123 126
     }
124 127
 
128
+    /**
129
+     * @param string $operatorName
130
+     */
125 131
     private function compileInlineOperator($operatorName, array $arguments, &$handle = null, $eldnah = null)
126 132
     {
127 133
         $operatorCallable = $this->operators->getInlineOperator($operatorName);
Please login to merge, or discard this patch.