File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1616 },
1717 "require" : {
1818 "php" : " ^7.2" ,
19- "andrey-helldar/support" : " ^1.22 " ,
19+ "andrey-helldar/support" : " ^1.24 " ,
2020 "doctrine/annotations" : " ^1.0" ,
2121 "illuminate/routing" : " ^5.0|^6.0|^7.0|^8.0" ,
2222 "illuminate/support" : " ^5.0|^6.0|^7.0|^8.0"
Original file line number Diff line number Diff line change 33namespace Helldar \LaravelRoutesCore \Models ;
44
55use Helldar \LaravelRoutesCore \Facades \Annotation ;
6+ use Helldar \Support \Facades \Arr as ArrHelper ;
67use Helldar \Support \Facades \Http ;
78use Illuminate \Contracts \Support \Arrayable ;
89use Illuminate \Routing \Route as IlluminateRoute ;
@@ -66,8 +67,8 @@ public function getPriority(): int
6667 public function getMethods (): array
6768 {
6869 return array_values (array_diff (
69- $ this ->route ->methods (),
70- $ this ->hide_methods
70+ ArrHelper:: map ( $ this ->route ->methods (), ' mb_strtoupper ' ),
71+ ArrHelper:: map ( $ this ->hide_methods , ' mb_strtoupper ' )
7172 ));
7273 }
7374
You can’t perform that action at this time.
0 commit comments