1 | <?php |
||
21 | class ApiFactory |
||
|
|||
22 | { |
||
23 | /** |
||
24 | * @return Api |
||
25 | * @throws \InvalidArgumentException |
||
26 | */ |
||
27 | 5 | public static function create() |
|
35 | |||
36 | /** |
||
37 | * @param string $bearerToken |
||
38 | * |
||
39 | * @return Api |
||
40 | * @throws \InvalidArgumentException |
||
41 | */ |
||
42 | 4 | public static function createForBearerToken($bearerToken) |
|
49 | } |
||
50 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.