File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 2121 "autoload" : { "psr-4" : { "Kalnoy\\ Nestedset\\ " : " src/" } },
2222
2323 "require-dev" : {
24- "phpunit/phpunit" : " >= 4.8"
24+ "phpunit/phpunit" : " 4.8.* "
2525 },
2626
2727 "extra" : {
2828 "branch-alias" : {
2929 "dev-master" : " v4.1.x-dev"
3030 }
31- },
32-
33- "minimum-stability" : " dev"
31+ }
3432}
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public function refreshNode()
240240 $ attributes = $ this ->newNestedSetQuery ()->getNodeData ($ this ->getKey ());
241241
242242 $ this ->attributes = array_merge ($ this ->attributes , $ attributes );
243- $ this ->original = array_merge ($ this ->original , $ attributes );
243+ // $this->original = array_merge($this->original, $attributes);
244244 }
245245
246246 /**
@@ -297,7 +297,7 @@ public function siblingsAndSelf()
297297 return $ this ->newScopedQuery ()
298298 ->where ($ this ->getParentIdName (), '= ' , $ this ->getParentId ());
299299 }
300-
300+
301301 /**
302302 * Get query for the node siblings and the node itself.
303303 *
@@ -309,7 +309,7 @@ public function getSiblingsAndSelf(array $columns = [ '*' ])
309309 {
310310 return $ this ->siblingsAndSelf ()->get ($ columns );
311311 }
312-
312+
313313 /**
314314 * Get query for siblings after the node.
315315 *
You can’t perform that action at this time.
0 commit comments