Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing returns in repositories and handlers
Found by new, strictier PHPStan. Fixed issues: - Method Crm\PaymentsModule\Repository\PaymentGatewaysRepository::update() should return bool but return statement is missing. - Method Crm\ScenariosModule\Repository\TriggersRepository::delete() should return bool but return statement is missing. - Method Crm\ScenariosModule\Repository\ElementsRepository::delete() should return bool but return statement is missing. - Method Crm\UsersModule\Repository\UsersRepository::update() should return bool but return statement is missing. - Method Crm\SurveyHeroModule\Api\SurveyHeroWebhookHandler::params() should return array<Crm\ApiModule\Params\ParamInterface> but return statement is missing. - Method Crm\StripeModule\Api\SetupIntentHandler::params() should return array<Crm\ApiModule\Params\ParamInterface> but return statement is missing. remp/crm#2007
- Loading branch information