Completed
Push — master ( e5e764...f44161 )
by Vitaliy
20:54 queued 12:05
created
src/Tree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
      *
241 241
      * @param array  $tree
242 242
      * @param string $parent node name or null for inserting into root node
243
-     * @param $node
243
+     * @param string $node
244 244
      *
245 245
      * @throws \Exception
246 246
      *
Please login to merge, or discard this patch.
src/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public static function applyCallback(callable $callback, NodeInterface $root, $targetClass = ChildNodeInterface::class)
45 45
     {
46 46
         $processed = [];
47
-        $f = function (ChildNodeInterface $targetNode) use ($callback, $targetClass, &$f, &$processed) {
47
+        $f = function(ChildNodeInterface $targetNode) use ($callback, $targetClass, &$f, &$processed) {
48 48
             if (in_array($targetNode, $processed, true)) {
49 49
                 return;
50 50
             }
Please login to merge, or discard this patch.
src/ParentNodeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * Returns child components.
46 46
      *
47
-     * @return \Nayjest\Collection\CollectionInterface
47
+     * @return \Nayjest\Collection\Decorator\ReadonlyObjectCollection
48 48
      */
49 49
     public function children()
50 50
     {
Please login to merge, or discard this patch.