Completed
Push — master ( a94ac3...322d21 )
by Richard
05:34
created
src/App/App.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace Lechimp\Dicto\App;
12 12
 
13 13
 use Lechimp\Dicto\App\RuleFromFSLoader;
14
-
15 14
 use Symfony\Component\Yaml\Yaml;
16 15
 use Pimple\Container;
17 16
 use PhpParser\ParserFactory;
Please login to merge, or discard this patch.
src/Indexer/Indexer.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,6 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param   string  $project_root_path
78
-     * @param   Schema[]  $rule_schemas
79 78
      */
80 79
     public function __construct(\PhpParser\Parser $parser, $project_root_path, Insert $insert) {
81 80
         $this->parser = $parser;
@@ -170,6 +169,10 @@  discard block
 block discarded – undo
170 169
     }
171 170
 
172 171
     // generalizes over over on_enter/leave_xx
172
+
173
+    /**
174
+     * @param string $what
175
+     */
173 176
     protected function on_enter_or_leave_something($what, $things, \Closure $listener) {
174 177
         $loc = &$this->$what;
175 178
         if ($things === null) {
@@ -187,6 +190,11 @@  discard block
 block discarded – undo
187 190
     }
188 191
 
189 192
     // generalizes over calls to misc listeners
193
+
194
+    /**
195
+     * @param string $which
196
+     * @param N $node
197
+     */
190 198
     protected function call_misc_listener($which, $node) {
191 199
         $listeners = &$this->$which;
192 200
         foreach ($listeners[0] as $listener) {
@@ -200,6 +208,10 @@  discard block
 block discarded – undo
200 208
         }
201 209
     }
202 210
 
211
+    /**
212
+     * @param string $which
213
+     * @param null|N $node
214
+     */
203 215
     protected function call_entity_listener($which, $type, $id, $node) {
204 216
         $listeners = &$this->$which;
205 217
         foreach ($listeners[0] as $listener) {
Please login to merge, or discard this patch.