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 25
25
},
26
26
"require" : {
27
27
"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 " ,
32
32
"ramsey/uuid" : " ^3.7 || ^4.0" ,
33
33
"symfony/var-dumper" : " ^4.0 || ^5.0 || ^6.0"
34
34
},
35
35
"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 "
38
38
},
39
39
"conflict" : {
40
40
"andrey-helldar/laravel-support" : " *"
41
41
},
42
42
"suggest" : {
43
43
"symfony/thanks" : " Give thanks (in the form of a GitHub) to your fellow PHP package maintainers"
44
44
},
45
- "minimum-stability" : " stable " ,
45
+ "minimum-stability" : " dev " ,
46
46
"prefer-stable" : true ,
47
47
"autoload" : {
48
48
"psr-4" : {
Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ abstract class CompositeKeysModel extends Model
20
20
21
21
public function getAttribute ($ key )
22
22
{
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 ;
26
28
}
27
29
28
30
public function find ($ id , $ columns = ['* ' ])
You can’t perform that action at this time.
0 commit comments