1 | <?php |
||
10 | class ApiKeyController extends Controller |
||
11 | { |
||
12 | protected $apiKey; |
||
13 | |||
14 | /** |
||
15 | * ApiKeyController constructor. |
||
16 | * @param ApiKey $apiKey |
||
17 | */ |
||
18 | public function __construct(ApiKey $apiKey) |
||
25 | |||
26 | /** |
||
27 | * Create a new api token. |
||
28 | * |
||
29 | * TODO: implement session to the view. |
||
30 | * TODO: Build api key limit that the user can have max. 5 keys. |
||
31 | * @param Request $request |
||
32 | * @return \Illuminate\Http\RedirectResponse |
||
33 | */ |
||
34 | public function makeKey(Request $request) |
||
50 | |||
51 | public function revokeKey() |
||
55 | } |
||
56 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.