Test Failed
Push — master ( e22c12...f8889b )
by Sergio
02:38
created

IncludeInSpecification::terminate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: sergio.rodenas
5
 * Date: 2019-01-30
6
 * Time: 08:13
7
 */
8
9
namespace Rodenastyle\TestDoc\Middleware;
10
11
12
use Closure;
13
14
class IncludeInSpecification
15
{
16
	public function handle($request, Closure $next)
17
	{
18
		return $next($request);
19
	}
20
21
	public function terminate($request, $response)
22
	{
23
		dd([$request, $response]);
0 ignored issues
show
Bug introduced by
The function dd was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

23
		/** @scrutinizer ignore-call */ 
24
  dd([$request, $response]);
Loading history...
24
	}
25
}