Skip to content

Commit df2868e

Browse files
committed
tidy up
1 parent fb88d59 commit df2868e

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

src/Event/EventIterator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function valid() : bool
5151
* @param array $args
5252
* @param callable $callback
5353
* @return mixed
54+
* @throws \Throwable
5455
*/
5556
function __invoke(callable $callable, array $args = [], callable $callback = null)
5657
{

src/Event/GeneratorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class GeneratorTest
1818
/**
1919
* @param array $config
2020
* @return App
21+
* @throws \Throwable
2122
*/
2223
protected function app(array $config = [])
2324
{

src/Plugin/FilterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
use Mvc5\App;
99
use Mvc5\Plugin\Args;
10-
use Mvc5\Plugin\Call;
1110
use Mvc5\Plugin\Filter;
1211
use Mvc5\Plugin\Param;
1312
use Mvc5\Test\Test\TestCase;

src/Route/Dispatch/RouterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class RouterTest
3131
/**
3232
* @param array $config
3333
* @return App
34+
* @throws \Throwable
3435
*/
3536
protected function app(array $config = [])
3637
{
@@ -95,6 +96,7 @@ protected function config(array $config = [])
9596
* @param HttpRequest $request
9697
* @param array $config
9798
* @return HttpRequest
99+
* @throws \Throwable
98100
*/
99101
protected function dispatch($request, array $config = [])
100102
{

src/Service/FacadeTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
namespace Mvc5\Test\Service;
77

88
use Mvc5\App;
9-
use Mvc5\Plugin\Invokable;
10-
use Mvc5\Plugin\Plugin;
11-
use Mvc5\Plugin\Shared;
129
use Mvc5\Service\Context;
1310
use Mvc5\Test\Test\TestCase;
1411

src/Web/RouteTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class RouteTest
2525
/**
2626
* @param array $config
2727
* @return App
28+
* @throws \Throwable
2829
*/
2930
protected function app(array $config = [])
3031
{
@@ -71,6 +72,7 @@ protected function next($return = null)
7172
* @param $response
7273
* @param string $return
7374
* @return mixed|HttpRequest|HttpResponse
75+
* @throws \Throwable
7476
*/
7577
protected function route($config, $request, $response, $return = 'response')
7678
{

0 commit comments

Comments
 (0)