Skip to content

Commit

Permalink
roolback auto format problem
Browse files Browse the repository at this point in the history
  • Loading branch information
hugef666 committed Dec 6, 2019
1 parent 4b6d483 commit 5401f68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Parameters/Concerns/GeneratesFromRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ protected function getParamType(array $paramRules)
{
if (in_array('integer', $paramRules)) {
return 'integer';
} elseif (in_array('numeric', $paramRules)) {
} else if (in_array('numeric', $paramRules)) {
return 'number';
} elseif (in_array('boolean', $paramRules)) {
} else if (in_array('boolean', $paramRules)) {
return 'boolean';
} elseif (in_array('array', $paramRules)) {
} else if (in_array('array', $paramRules)) {
return 'array';
} else {
//date, ip, email, etc..
Expand Down

0 comments on commit 5401f68

Please sign in to comment.