Fix Psalm errors

This commit is contained in:
Narek Zakarian 2022-08-16 18:46:17 +04:00
parent 09420c0adb
commit 9b81ac54f2
5 changed files with 65 additions and 48 deletions

View file

@ -235,7 +235,7 @@ class SettingsListener {
*
* @throws \WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException When a setting was not found.
*/
public function listen() {
public function listen(): void {
if ( ! $this->is_valid_update_request() ) {
return;