File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 13
13
" laravel"
14
14
],
15
15
"require" : {
16
- "php" : " >=7.4 " ,
16
+ "php" : " 8.0.*|8.1.*|8.2.* " ,
17
17
"ext-json" : " *" ,
18
- "bensampo/laravel-enum" : " ^1.0|^2.0|^ 3.0|^4.0|^5.0,<5.2 .0" ,
19
- "illuminate/support" : " ^6 .0|^7 .0|^8.0|^9 .0" ,
20
- "illuminate/http" : " ^6 .0|^7 .0|^8.0|^9 .0" ,
21
- "illuminate/container" : " ^6 .0|^7 .0|^8.0|^9 .0" ,
22
- "illuminate/pipeline" : " ^6 .0|^7 .0|^8.0|^9 .0" ,
23
- "illuminate/console" : " ^6 .0|^7 .0|^8.0|^9 .0" ,
18
+ "bensampo/laravel-enum" : " ^3.0|^4.0|^5.0|^6 .0" ,
19
+ "illuminate/support" : " ^8 .0|^9 .0|^10 .0" ,
20
+ "illuminate/http" : " ^8 .0|^9 .0|^10 .0" ,
21
+ "illuminate/container" : " ^8 .0|^9 .0|^10 .0" ,
22
+ "illuminate/pipeline" : " ^8 .0|^9 .0|^10 .0" ,
23
+ "illuminate/console" : " ^8 .0|^9 .0|^10 .0" ,
24
24
"phpdocumentor/reflection-docblock" : " ^3.0|^4.0|^5.0" ,
25
25
"spiral/attributes" : " ^2.8" ,
26
26
"tochka-developers/jsonrpc-annotations" : " ^1.1" ,
Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ public static function fromVarType(string $varType): self
94
94
}
95
95
}
96
96
97
- public static function __set_state (array $ array ): self
97
+ public static function __set_state (array $ enum ): static
98
98
{
99
- return self ::coerce ($ array ['value ' ]) ?? self ::TYPE_MIXED ();
99
+ return self ::coerce ($ enum ['value ' ]) ?? self ::TYPE_MIXED ();
100
100
}
101
101
102
102
public function toJsonType (): string
You can’t perform that action at this time.
0 commit comments