Argument 2 ($code) is 'error' of type 'error' but \Exception::__construct() takes int

Created on 30 June 2022, almost 2 years ago
Updated 16 June 2023, about 1 year ago

Problem/Motivation

Code static analysis reports following error: "Argument 2 ($code) is 'error' of type 'error' but \Exception::__construct() takes int"
geocoder/geocoder.module line 326

Proposed resolution

Replace 'error' string with WATCHDOD_ERROR constant.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus yurikulinkovich

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024