Skip to content

Commit

Permalink
Fix unused nullable param
Browse files Browse the repository at this point in the history
  • Loading branch information
eliecharra authored and lsmith77 committed Feb 9, 2015
1 parent 4f9526d commit dcd379b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Request/ParamFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function get($name, $strict = null)

if ($config->array) {
if (!is_array($param)) {
if ($strict) {
if (!$nullable) {
throw new BadRequestHttpException(
sprintf("%s parameter value of '%s' is not an array", $paramType, $name)
);
Expand Down

0 comments on commit dcd379b

Please sign in to comment.