We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6d483 commit 5401f68Copy full SHA for 5401f68
src/Parameters/Concerns/GeneratesFromRules.php
@@ -19,11 +19,11 @@ protected function getParamType(array $paramRules)
19
{
20
if (in_array('integer', $paramRules)) {
21
return 'integer';
22
- } elseif (in_array('numeric', $paramRules)) {
+ } else if (in_array('numeric', $paramRules)) {
23
return 'number';
24
- } elseif (in_array('boolean', $paramRules)) {
+ } else if (in_array('boolean', $paramRules)) {
25
return 'boolean';
26
- } elseif (in_array('array', $paramRules)) {
+ } else if (in_array('array', $paramRules)) {
27
return 'array';
28
} else {
29
//date, ip, email, etc..
0 commit comments