diff --git a/core/lib/Drupal/Core/Database/Statement/PdoTrait.php b/core/lib/Drupal/Core/Database/Statement/PdoTrait.php index 2028ede147258fbbb61151733db12c737d5e481a..50549cc14474d1404ac97d953daf3700bfbb8ac2 100644 --- a/core/lib/Drupal/Core/Database/Statement/PdoTrait.php +++ b/core/lib/Drupal/Core/Database/Statement/PdoTrait.php @@ -108,10 +108,10 @@ protected function clientExecute(?array $arguments = [], array $options = []): b * @param int|null $cursorOffset * Not implemented in all database drivers, don't use. * - * @return array<string|int|float|bool>|object|string|int|float|bool + * @return array<string|int|float|bool>|object|string|bool * A result, formatted according to $mode, or FALSE on failure. */ - protected function clientFetch(?FetchAs $mode = NULL, ?int $cursorOrientation = NULL, ?int $cursorOffset = NULL): array|object|string|int|float|bool { + protected function clientFetch(?FetchAs $mode = NULL, ?int $cursorOrientation = NULL, ?int $cursorOffset = NULL): array|object|string|bool { return match(func_num_args()) { 0 => $this->getClientStatement()->fetch(), 1 => $this->getClientStatement()->fetch($this->fetchAsToPdo($mode)),