Commit 060e1f64 authored by Taylor Otwell's avatar Taylor Otwell

Added BadMethodCallException to view's __callStatic method.

parent 85936b3c
......@@ -350,6 +350,8 @@ class View {
{
return static::of(substr($method, 3), Arr::get($parameters, 0, array()));
}
throw new \BadMethodCallException("Method [$method] is not defined on the View class.");
}
}
}
\ No newline at end of file
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