| 1 | <?php declare(strict_types=1); |
||
| 10 | class Overview extends BaseRequest |
||
| 11 | { |
||
| 12 | const METHOD = 'GET'; |
||
|
|
|||
| 13 | |||
| 14 | const ENDPOINT = '/followers/list.json'; |
||
| 15 | |||
| 16 | 12 | public function __construct() |
|
| 20 | |||
| 21 | 2 | public function userId(int $id): Overview |
|
| 27 | |||
| 28 | 2 | public function screenName(string $screenName): Overview |
|
| 34 | |||
| 35 | 2 | public function fromCursor(int $cursor): Overview |
|
| 41 | |||
| 42 | 2 | public function amount(int $amount): Overview |
|
| 48 | |||
| 49 | 2 | public function skipStatus(): Overview |
|
| 55 | |||
| 56 | 2 | public function excludeEntities(): Overview |
|
| 62 | } |
||
| 63 |
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.