Commit 41e066e2 authored by Taylor Otwell's avatar Taylor Otwell

Fix macros method.

parent 52ca2d35
...@@ -580,9 +580,9 @@ class Form { ...@@ -580,9 +580,9 @@ class Form {
*/ */
public static function __callStatic($method, $parameters) public static function __callStatic($method, $parameters)
{ {
if (isset(static::$inputs[$method])) if (isset(static::$macros[$method]))
{ {
return call_user_func_array(static::$inputs[$method], $parameters); return call_user_func_array(static::$macros[$method], $parameters);
} }
throw new \Exception("Method [$method] does not exist."); throw new \Exception("Method [$method] does not exist.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment