-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Description
Bug report
/**
* Overview action
*
* @return \Cake\Http\Response|null|void
*/
public function index() { ... }Framework controller actions usually don't have to return, the |void addition should suffice to silence PHPStan.
But it complains with
Method DatabaseLog\Controller\Admin\LogsController::index() should
return Cake\Http\Response|void|null but return statement is missing.
Expected output
No error here. Only with \Cake\Http\Response|null I would expect the above message.
Reactions are currently unavailable