Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Call static doesn't check the method is correct #87

Open
ppazos opened this issue Aug 21, 2019 · 0 comments
Open

Call static doesn't check the method is correct #87

ppazos opened this issue Aug 21, 2019 · 0 comments

Comments

@ppazos
Copy link

ppazos commented Aug 21, 2019

get, post, any are allowed methods, still if you do Macaw::lol(); it will work without complaining and you might get strange behaviors.

So if you miss one character, like Macaw::ge() it will call successfully and add an empty route.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant