Commit b4446482 authored by Dave Marshall's avatar Dave Marshall

Document as mixed, may be a string intended to be resolved from the CallbackResolver

parent f2724fd2
......@@ -412,9 +412,9 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
* an instance of Response. When this occurs, all suitable handlers will be
* called, until one returns a Response object.
*
* @param callable $callback View handler callback
* @param int $priority The higher this value, the earlier an event
* listener will be triggered in the chain (defaults to 0)
* @param mixed $callback View handler callback
* @param int $priority The higher this value, the earlier an event
* listener will be triggered in the chain (defaults to 0)
*/
public function view($callback, $priority = 0)
{
......
......@@ -28,7 +28,7 @@ class ViewListenerWrapper
* Constructor.
*
* @param Application $app An Application instance
* @param callable $callback
* @param mixed $callback
*/
public function __construct(Application $app, $callback)
{
......
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