File tree Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 1313
1414 "require" : {
1515 "php" : " >=5.5.9" ,
16- "illuminate/support" : " 5.2.*| 5.3.x " ,
17- "illuminate/database" : " 5.2.*| 5.3.x " ,
18- "illuminate/events" : " 5.2.*| 5.3.x "
16+ "illuminate/support" : " 5.2.* | 5.3.* | 5.4.* " ,
17+ "illuminate/database" : " 5.2.* | 5.3.* | 5.4.* " ,
18+ "illuminate/events" : " 5.2.* | 5.3.* | 5.4.* "
1919 },
2020
21- "autoload" : { "psr-4" : { "Kalnoy\\ Nestedset\\ " : " src/" } },
21+ "autoload" : {
22+ "psr-4" : {
23+ "Kalnoy\\ Nestedset\\ " : " src/"
24+ }
25+ },
2226
2327 "require-dev" : {
2428 "phpunit/phpunit" : " 4.8.*"
Original file line number Diff line number Diff line change 11<?php
22
3- class MenuItem extends \Kalnoy \Nestedset \Node
3+
4+ class MenuItem extends \Illuminate \Database \Eloquent \Model
45{
6+ use \Kalnoy \Nestedset \NodeTrait;
7+
58 public $ timestamps = false ;
6-
7- protected $ fillable = [ 'menu_id ' ];
8-
9+
10+ protected $ fillable = ['menu_id ' ];
11+
912 public static function resetActionsPerformed ()
1013 {
1114 static ::$ actionsPerformed = 0 ;
1215 }
13-
16+
1417 protected function getScopeAttributes ()
1518 {
16- return [ 'menu_id ' ];
19+ return ['menu_id ' ];
1720 }
1821
19- }
22+ }
You can’t perform that action at this time.
0 commit comments