| 1 | <?php declare(strict_types=1); |
||
| 7 | class Incoming extends BaseRequest |
||
| 8 | { |
||
| 9 | const METHOD = 'GET'; |
||
|
|
|||
| 10 | |||
| 11 | const ENDPOINT = '/friendships/incoming.json'; |
||
| 12 | |||
| 13 | 4 | public function __construct() |
|
| 17 | |||
| 18 | 2 | public function fromCursor(int $cursor): Incoming |
|
| 24 | |||
| 25 | 2 | public function stringifyIds(): Incoming |
|
| 31 | } |
||
| 32 |
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.