Passed
Push — master ( 74a67e...bf1276 )
by Atanas
01:58
created
src/Routing/RouteGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	 * Constructor
29 29
 	 *
30 30
 	 * @throws Exception
31
-	 * @param  string|ConditionInterface $target
31
+	 * @param  string $target
32 32
 	 * @param  Closure                   $closure
33 33
 	 */
34 34
 	public function __construct( $target, Closure $closure ) {
Please login to merge, or discard this patch.
src/Routing/Conditions/Custom.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 	 * Constructor
27 27
 	 *
28 28
 	 * @param callable $callable
29
-	 * @param mixed    $arguments,...
30 29
 	 */
31 30
 	public function __construct( $callable ) {
32 31
 		$this->callable = $callable;
Please login to merge, or discard this patch.
src/Routing/Handler.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
 	/**
37 37
 	 * Execute the handler
38 38
 	 *
39
-	 * @param  mixed $arguments,...
40 39
 	 * @return mixed
41 40
 	 */
42 41
 	public function execute() {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace WPEmerge\Routing;
4 4
 
5
-use WPEmerge\Responses\Response;
6 5
 use WPEmerge\Helpers\Handler as GenericHandler;
7 6
 use WPEmerge\Responses\ConvertibleToResponseInterface;
7
+use WPEmerge\Responses\Response;
8 8
 
9 9
 /**
10 10
  * Represent a Closure or a controller method to be executed in response to a request
Please login to merge, or discard this patch.
src/Helpers/Handler.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,6 @@
 block discarded – undo
82 82
 	/**
83 83
 	 * Execute the parsed handler with any provided arguments and return the result
84 84
 	 *
85
-	 * @param  mixed $arguments,...
86 85
 	 * @return mixed
87 86
 	 */
88 87
 	public function execute() {
Please login to merge, or discard this patch.
src/functions.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use WPEmerge\Facades\Framework;
4
-use WPEmerge\Responses\Response;
5 4
 use WPEmerge\Helpers\Mixed;
5
+use WPEmerge\Responses\Response;
6 6
 
7 7
 if ( ! function_exists( 'app_response' ) ) {
8 8
 	/**
Please login to merge, or discard this patch.
src/Responses/RedirectResponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace WPEmerge\Responses;
4 4
 
5
-use GuzzleHttp\Psr7;
6 5
 use GuzzleHttp\Psr7\Response;
7 6
 use Psr\Http\Message\ResponseInterface;
8 7
 use WPEmerge\Requests\Request;
Please login to merge, or discard this patch.
src/Responses/Response.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use GuzzleHttp\Psr7;
6 6
 use GuzzleHttp\Psr7\Response as Psr7Response;
7
+use Psr\Http\Message\ResponseInterface;
8
+use Psr\Http\Message\StreamInterface;
7 9
 use WPEmerge\Facades\Framework;
8 10
 use WPEmerge\Helpers\Mixed;
9 11
 use WPEmerge\Responses\RedirectResponse;
10 12
 use WPEmerge\View\ViewInterface;
11
-use Psr\Http\Message\ResponseInterface;
12
-use Psr\Http\Message\StreamInterface;
13 13
 
14 14
 /**
15 15
  * A collection of tools for the creation of responses
Please login to merge, or discard this patch.