1 | <?php declare(strict_types=1); |
||
7 | class Overview extends BaseRequest |
||
8 | { |
||
9 | const METHOD = 'GET'; |
||
|
|||
10 | |||
11 | const ENDPOINT = '/followers/list.json'; |
||
12 | |||
13 | 12 | public function __construct() |
|
17 | |||
18 | 2 | public function userId(int $id): Overview |
|
24 | |||
25 | 2 | public function screenName(string $screenName): Overview |
|
31 | |||
32 | 2 | public function fromCursor(int $cursor): Overview |
|
38 | |||
39 | 2 | public function amount(int $amount): Overview |
|
45 | |||
46 | 2 | public function skipStatus(): Overview |
|
52 | |||
53 | 2 | public function excludeEntities(): Overview |
|
59 | } |
||
60 |
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.