Merge pull request #760 from cviebrock/develop

Fix whitespace issues in laravel/form.php
This commit is contained in:
Taylor Otwell 2012-06-04 06:56:14 -07:00
commit ad14938cb2
1 changed files with 30 additions and 30 deletions

View File

@ -16,13 +16,13 @@ class Form {
*/
public static $macros = array();
/**
* Registers a custom macro.
*
* @param string $name
* @param Closure $input
* @return void
*/
/**
* Registers a custom macro.
*
* @param string $name
* @param Closure $input
* @return void
*/
public static function macro($name, $macro)
{
static::$macros[$name] = $macro;
@ -607,12 +607,12 @@ protected static function id($name, $attributes)
*/
public static function __callStatic($method, $parameters)
{
if (isset(static::$macros[$method]))
{
return call_user_func_array(static::$macros[$method], $parameters);
}
if (isset(static::$macros[$method]))
{
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.");
}
}