Commit 6b6d761 1 parent bfa83f5 commit 6b6d761 Copy full SHA for 6b6d761
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ public static function counts(): mixed
35
35
{
36
36
return static ::query ()
37
37
->selectRaw ("count(*) as `all` " )
38
- ->selectRaw ("count(case when method = 'GET' then 1 end) as get " )
39
- ->selectRaw ("count(case when method = 'POST' then 1 end) as post " )
40
- ->selectRaw ("count(case when method = 'PUT' then 1 end) as put " )
41
- ->selectRaw ("count(case when method = 'PATCH' then 1 end) as patch " )
38
+ ->selectRaw ("count(case when method = 'GET' then 1 end) as ` get` " )
39
+ ->selectRaw ("count(case when method = 'POST' then 1 end) as ` post` " )
40
+ ->selectRaw ("count(case when method = 'PUT' then 1 end) as ` put` " )
41
+ ->selectRaw ("count(case when method = 'PATCH' then 1 end) as ` patch` " )
42
42
->selectRaw ("count(case when method = 'DELETE' then 1 end) as `delete` " )
43
43
->first ();
44
44
}
You can’t perform that action at this time.
0 commit comments