1 | <?php declare(strict_types=1); |
||
7 | class Entries extends BaseRequest |
||
8 | { |
||
9 | const METHOD = 'GET'; |
||
|
|||
10 | |||
11 | const ENDPOINT = '/collections/entries.json'; |
||
12 | |||
13 | 7 | public function __construct(string $id) |
|
19 | |||
20 | 2 | public function amount(int $amount): Entries |
|
26 | |||
27 | 2 | public function minimumId(int $id): Entries |
|
33 | |||
34 | 2 | public function maximumId(int $id): Entries |
|
40 | } |
||
41 |
This check looks for improperly formatted assignments.
Every assignment must have exactly one space before and one space after the equals operator.
To illustrate:
will have no issues, while
will report issues in lines 1 and 2.