File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 12
12
use function json_decode ;
13
13
use function json_encode ;
14
14
15
- class ProblemDetailsExceptionInterfaceTest extends TestCase
15
+ final class ProblemDetailsExceptionInterfaceTest extends TestCase
16
16
{
17
- /** @var int */
18
- protected $ status = 403 ;
19
- /** @var string */
20
- protected $ detail = 'You are not authorized to do that ' ;
21
- /** @var string */
22
- protected $ title = 'Unauthorized ' ;
23
- /** @var string */
24
- protected $ type = 'https://httpstatus.es/403 ' ;
17
+ private int $ status = 403 ;
18
+ private string $ detail = 'You are not authorized to do that ' ;
19
+ private string $ title = 'Unauthorized ' ;
20
+ private string $ type = 'https://httpstatus.es/403 ' ;
25
21
/** @var string[] */
26
- protected $ additional = [
22
+ private array $ additional = [
27
23
'foo ' => 'bar ' ,
28
24
];
25
+ private ProblemDetailsExceptionInterface $ exception ;
29
26
30
27
protected function setUp (): void
31
28
{
You can’t perform that action at this time.
0 commit comments