$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
43
throw new Exception(/** @scrutinizer ignore-type */ $statement->errorInfo());
Loading history...
44
}
45
}
46
else {
47
// insert / delete only, no updates please.
48
throw new Exception('Updating domain membership is not available');