Skip to content

Commit 392b4a3

Browse files
committed
tidy up
1 parent 59d28a1 commit 392b4a3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Plugin/InvokeTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
namespace Mvc5\Test\Plugin;
77

88
use Mvc5\App;
9-
use Mvc5\Plugin\Call;
10-
use Mvc5\Plugin\Invokable;
119
use Mvc5\Plugin\Invoke;
1210
use Mvc5\Plugin\Value;
1311
use Mvc5\Test\Test\TestCase;
@@ -77,9 +75,7 @@ function test_resolve()
7775
{
7876
$app = new App;
7977

80-
$invoke = new Invoke(function($foo, $bar, $baz) {
81-
return new Call(new Invokable(new Value($foo . $bar . $baz)));
82-
}, ['s']);
78+
$invoke = new Invoke(function($foo, $bar, $baz) { return new Value($foo . $bar . $baz); }, ['s']);
8379

8480
$callable = $app->plugin($invoke);
8581

0 commit comments

Comments
 (0)