Issues (28)

src/macro/Structure/links.php (2 issues)

1
<?php
2
3
use Illuminate\Testing\TestResponse;
4
use VGirol\JsonApiAssert\Laravel\Assert;
5
6 3
TestResponse::macro(
7 3
    'assertJsonApiDocumentLinksObjectEquals',
8
    /**
9
     * @param array $expected
10
     *
11
     * @return void
12
     * @throws \PHPUnit\Framework\AssertionFailedError
13
     */
14 3
    function ($expected) {
15 12
        Assert::assertDocumentLinksObjectEquals($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
19 3
TestResponse::macro(
20 3
    'assertJsonApiDocumentLinksObjectContains',
21
    /**
22
     * @param array $expected
23
     *
24
     * @return void
25
     * @throws \PHPUnit\Framework\AssertionFailedError
26
     */
27 3
    function ($expected) {
28 12
        Assert::assertDocumentLinksObjectContains($this, $expected);
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
29 6
    }
30
);
31