$statement->errorInfo() of type array is incompatible with the type string expected by parameter $message of Exception::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
42
throw new Exception(/** @scrutinizer ignore-type */ $statement->errorInfo());
Loading history...
43
}
44
}
45
else {
46
// insert / delete only, no updates please.
47
throw new Exception('Updating domain membership is not available');