diff --git a/core/lib/Drupal/Core/Database/Statement/PdoTrait.php b/core/lib/Drupal/Core/Database/Statement/PdoTrait.php index 2c751ace0357881c05ab45b105652c205173f734..2028ede147258fbbb61151733db12c737d5e481a 100644 --- a/core/lib/Drupal/Core/Database/Statement/PdoTrait.php +++ b/core/lib/Drupal/Core/Database/Statement/PdoTrait.php @@ -111,7 +111,7 @@ protected function clientExecute(?array $arguments = [], array $options = []): b * @return array<string|int|float|bool>|object|string|int|float|bool * A result, formatted according to $mode, or FALSE on failure. */ - protected function clientFetch(?FetchAs $mode = NULL, ?int $cursorOrientation = NULL, ?int $cursorOffset = NULL) { + protected function clientFetch(?FetchAs $mode = NULL, ?int $cursorOrientation = NULL, ?int $cursorOffset = NULL): array|object|string|int|float|bool { return match(func_num_args()) { 0 => $this->getClientStatement()->fetch(), 1 => $this->getClientStatement()->fetch($this->fetchAsToPdo($mode)),