From 2824f30c9c7dfb8f1c02afe7bbeb6db56d45d2a0 Mon Sep 17 00:00:00 2001 From: Emre Sokullu Date: Wed, 21 Aug 2019 05:34:01 -0700 Subject: [PATCH] Update Form.php --- src/Pho/Framework/Handlers/Form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +}