Completed
Branch master (67a1f0)
by Ben
02:56
created
src/Commands/Copy.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,11 +23,9 @@
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param Node $node
27
-     * @param NodeCollection $children
28 26
      * @param $depth
29
-     * @param null|int $currentDepth
30
-     * @return bool|Node
27
+     * @param integer $currentDepth
28
+     * @return NodeCollection
31 29
      */
32 30
     private function recursiveDepth(NodeCollection $nodeCollection, $depth = null, $currentDepth = 0)
33 31
     {
Please login to merge, or discard this patch.
src/Node.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param array|NodeCollection $children
42
+     * @param Node $children
43 43
      * @return Node
44 44
      */
45 45
     public function addChildren($children): self
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      * Get a copy of this node
249 249
      *
250 250
      * @param null|int $depth
251
-     * @return Node
251
+     * @return callable
252 252
      */
253 253
     public function copy($depth = null): self
254 254
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Vine;
4 4
 
5
+use Vine\Commands\Copy;
5 6
 use Vine\Commands\Move;
6 7
 use Vine\Commands\Prune;
7 8
 use Vine\Commands\Shake;
8 9
 use Vine\Queries\Ancestors;
9 10
 use Vine\Queries\Count;
10
-use Vine\Commands\Copy;
11 11
 use Vine\Queries\Pluck;
12 12
 
13 13
 class Node
Please login to merge, or discard this patch.
src/NodeCollection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Vine;
4 4
 
5
-use Vine\Commands\Shake;
6 5
 use Vine\Commands\Flatten;
7 6
 use Vine\Commands\Inflate;
8 7
 use Vine\Commands\Remove;
Please login to merge, or discard this patch.
src/TreeFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param $parentId
87
-     * @param $entryNode
87
+     * @param Node $entryNode
88 88
      * @return mixed
89 89
      */
90 90
     private function addAsChild($parentId, $entryNode)
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
     /**
103 103
      * @param $parentId
104
-     * @param $entryNode
104
+     * @param Node $entryNode
105 105
      * @return mixed
106 106
      */
107 107
     private function addAsRoot($parentId, $entryNode)
Please login to merge, or discard this patch.