diff --git a/src/Pho/Framework/Handlers/Form.php b/src/Pho/Framework/Handlers/Form.php index 850e3ed..c6070b5 100644 --- a/src/Pho/Framework/Handlers/Form.php +++ b/src/Pho/Framework/Handlers/Form.php @@ -94,7 +94,7 @@ protected static function findFormativeClass( $_type = ((gettype($arg) == "boolean") ? "bool" : gettype($arg)); $argline .= sprintf( "%s:::", - str_replace("\\", ":", gettype($arg)) + str_replace("\\", ":", $_type) ); } $argline = substr($argline, 0, -3);