don't typecast null values inside dispatcher.php
This commit is contained in:
parent
67d029a21e
commit
c30bea45e9
|
@ -145,7 +145,7 @@ class Dispatcher {
|
|||
) {
|
||||
$value = false;
|
||||
|
||||
} elseif(in_array($type, $types)) {
|
||||
} elseif($value !== null && in_array($type, $types)) {
|
||||
settype($value, $type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue