Issues (28)

src/macro/Structure/jsonapi.php (1 issue)

1
<?php
2
3
use Illuminate\Testing\TestResponse;
4
use VGirol\JsonApiAssert\Laravel\Assert;
5
6 3
TestResponse::macro(
7 3
    'assertJsonApiJsonapiObject',
8
    /**
9
     * @param array $expected
10
     *
11
     * @return void
12
     * @throws \PHPUnit\Framework\AssertionFailedError
13
     */
14 3
    function ($expected) {
15 6
        Assert::assertResponseJsonapiObjectEquals($this, $expected);
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
16 6
    }
17
);
18