From 04658e859a3821d6c1ea775667338bc017e61256 Mon Sep 17 00:00:00 2001 From: Emre Sokullu Date: Wed, 21 Aug 2019 05:42:10 -0700 Subject: [PATCH] Update Form.php --- src/Pho/Framework/Handlers/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);