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 21
21
"autoload" : { "psr-4" : { "Kalnoy\\ Nestedset\\ " : " src/" } },
22
22
23
23
"require-dev" : {
24
- "phpunit/phpunit" : " >= 4.8"
24
+ "phpunit/phpunit" : " 4.8.* "
25
25
},
26
26
27
27
"extra" : {
28
28
"branch-alias" : {
29
29
"dev-master" : " v4.1.x-dev"
30
30
}
31
- },
32
-
33
- "minimum-stability" : " dev"
31
+ }
34
32
}
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public function refreshNode()
240
240
$ attributes = $ this ->newNestedSetQuery ()->getNodeData ($ this ->getKey ());
241
241
242
242
$ this ->attributes = array_merge ($ this ->attributes , $ attributes );
243
- $ this ->original = array_merge ($ this ->original , $ attributes );
243
+ // $this->original = array_merge($this->original, $attributes);
244
244
}
245
245
246
246
/**
@@ -297,7 +297,7 @@ public function siblingsAndSelf()
297
297
return $ this ->newScopedQuery ()
298
298
->where ($ this ->getParentIdName (), '= ' , $ this ->getParentId ());
299
299
}
300
-
300
+
301
301
/**
302
302
* Get query for the node siblings and the node itself.
303
303
*
@@ -309,7 +309,7 @@ public function getSiblingsAndSelf(array $columns = [ '*' ])
309
309
{
310
310
return $ this ->siblingsAndSelf ()->get ($ columns );
311
311
}
312
-
312
+
313
313
/**
314
314
* Get query for siblings after the node.
315
315
*
You can’t perform that action at this time.
0 commit comments