File tree Expand file tree Collapse file tree 3 files changed +12
-77
lines changed Expand file tree Collapse file tree 3 files changed +12
-77
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2525 },
2626 "require" : {
2727 "php" : " ^7.2 || ^8.0" ,
28- "illuminate/container" : " ^6.0 || ^7.0 || ^8.0 || ^9.0" ,
29- "illuminate/database" : " ^6.0 || ^7.0 || ^8.0 || ^9.0" ,
30- "illuminate/http" : " ^6.0 || ^7.0 || ^8.0 || ^9.0" ,
31- "illuminate/support" : " ^6.0 || ^7.0 || ^8.0 || ^9.0" ,
28+ "illuminate/container" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 " ,
29+ "illuminate/database" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 " ,
30+ "illuminate/http" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 " ,
31+ "illuminate/support" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 " ,
3232 "ramsey/uuid" : " ^3.7 || ^4.0" ,
3333 "symfony/var-dumper" : " ^4.0 || ^5.0 || ^6.0"
3434 },
3535 "require-dev" : {
36- "laravel/framework" : " ^6.0 || ^7.0 || ^8.0 || ^9.0" ,
37- "laravel/lumen-framework" : " ^6.0 || ^7.0 || ^8.0 || ^9.0"
36+ "laravel/framework" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 " ,
37+ "laravel/lumen-framework" : " ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 "
3838 },
3939 "conflict" : {
4040 "andrey-helldar/laravel-support" : " *"
4141 },
4242 "suggest" : {
4343 "symfony/thanks" : " Give thanks (in the form of a GitHub) to your fellow PHP package maintainers"
4444 },
45- "minimum-stability" : " stable " ,
45+ "minimum-stability" : " dev " ,
4646 "prefer-stable" : true ,
4747 "autoload" : {
4848 "psr-4" : {
Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ abstract class CompositeKeysModel extends Model
2020
2121 public function getAttribute ($ key )
2222 {
23- return ! is_array ($ key )
24- ? parent ::getAttribute ($ key )
25- : null ;
23+ if (! is_array ($ key )) {
24+ return parent ::getAttribute ($ key );
25+ }
26+
27+ return null ;
2628 }
2729
2830 public function find ($ id , $ columns = ['* ' ])
You can’t perform that action at this time.
0 commit comments