Commit 3a8e2dd5 authored by Dave Marshall's avatar Dave Marshall

Remove callable type hint from chain test for 5.3

parent a940fbe3
...@@ -632,9 +632,6 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase ...@@ -632,9 +632,6 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
{ {
$app = new Application(); $app = new Application();
$app->get('/foo', function() { return function() { return 'world'; }; }); $app->get('/foo', function() { return function() { return 'world'; }; });
$app->view(function (callable $view) {
return (object) array('name' => $view());
});
$app->view(function (\stdClass $view) { $app->view(function (\stdClass $view) {
return array('msg' => 'Hello '.$view->name); return array('msg' => 'Hello '.$view->name);
......
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