Skip to content

Commit

Permalink
Update Form.php
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu authored Aug 21, 2019
1 parent 26395f6 commit 2824f30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pho/Framework/Handlers/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -112,4 +113,4 @@ protected static function findFormativeClass(

throw new UnrecognizedSetOfParametersForFormativeEdgeException($argline, $pack["out"]->formative_patterns[$name]);
}
}
}

0 comments on commit 2824f30

Please sign in to comment.