Completed
Push — master ( f44161...cab1d3 )
by Vitaliy
18:16 queued 03:02
created
src/Tree.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param array  $tree
289 289
      * @param string $parent node name or null for inserting into root node
290
-     * @param $node
290
+     * @param string $node
291 291
      *
292 292
      * @throws \Exception
293 293
      *
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 
323 323
     /**
324 324
      * @param array $config
325
-     * @param $node
325
+     * @param string $node
326 326
      *
327 327
      * @return false|array children of deleted node
328 328
      */
@@ -345,6 +345,9 @@  discard block
 block discarded – undo
345 345
         return false;
346 346
     }
347 347
 
348
+    /**
349
+     * @param string $nodeName
350
+     */
348 351
     protected function removeNodeFromList($nodeName)
349 352
     {
350 353
         if ($this->nodes->hasKey($nodeName)) {
Please login to merge, or discard this patch.