Skip to content

Commit 5401f68

Browse files
committed
roolback auto format problem
1 parent 4b6d483 commit 5401f68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Parameters/Concerns/GeneratesFromRules.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ protected function getParamType(array $paramRules)
1919
{
2020
if (in_array('integer', $paramRules)) {
2121
return 'integer';
22-
} elseif (in_array('numeric', $paramRules)) {
22+
} else if (in_array('numeric', $paramRules)) {
2323
return 'number';
24-
} elseif (in_array('boolean', $paramRules)) {
24+
} else if (in_array('boolean', $paramRules)) {
2525
return 'boolean';
26-
} elseif (in_array('array', $paramRules)) {
26+
} else if (in_array('array', $paramRules)) {
2727
return 'array';
2828
} else {
2929
//date, ip, email, etc..

0 commit comments

Comments
 (0)