| 1 | <?php |
||
| 12 | class AlphaSorter implements SorterInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | const ASC = 1; |
||
| 16 | const DESC = -1; |
||
| 17 | |||
| 18 | /** @var int */ |
||
| 19 | private $sorting; |
||
| 20 | |||
| 21 | 1 | public function __construct(int $sorting = self::ASC) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param array<string, string> $data |
||
| 28 | * @return array<string, string> |
||
|
|
|||
| 29 | */ |
||
| 30 | 1 | public function sort(array $data): array |
|
| 37 | } |
||
| 38 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.