Commit a7768253 authored by Dave Marshall's avatar Dave Marshall

Remove callable hint for 5.3 tests

parent 65a97117
...@@ -651,10 +651,6 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase ...@@ -651,10 +651,6 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
$app = new Application(); $app = new Application();
$app->get('/foo', function() { return 'Hello world'; }); $app->get('/foo', function() { return 'Hello world'; });
$app->view(function (callable $view) {
throw new \Exception("View listener was called");
});
$app->view(function (\stdClass $view) { $app->view(function (\stdClass $view) {
throw new \Exception("View listener was called"); throw new \Exception("View listener was called");
}); });
......
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