diff --git a/src/Pho/Framework/Handlers/Form.php b/src/Pho/Framework/Handlers/Form.php index 442e1d5..850e3ed 100644 --- a/src/Pho/Framework/Handlers/Form.php +++ b/src/Pho/Framework/Handlers/Form.php @@ -91,6 +91,7 @@ protected static function findFormativeClass( $argline = ""; if(count($args)>0) { foreach($args as $arg) { + $_type = ((gettype($arg) == "boolean") ? "bool" : gettype($arg)); $argline .= sprintf( "%s:::", str_replace("\\", ":", gettype($arg)) @@ -112,4 +113,4 @@ protected static function findFormativeClass( throw new UnrecognizedSetOfParametersForFormativeEdgeException($argline, $pack["out"]->formative_patterns[$name]); } -} \ No newline at end of file +}