From 4d21d6d079d51e9587fda5e4f3c65c0d85b43d1d Mon Sep 17 00:00:00 2001 From: mondrake <28163-mondrake@users.noreply.drupalcode.org> Date: Tue, 19 Nov 2024 20:51:48 +0000 Subject: [PATCH] Update file PdoTrait.php --- core/lib/Drupal/Core/Database/Statement/PdoTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Database/Statement/PdoTrait.php b/core/lib/Drupal/Core/Database/Statement/PdoTrait.php index 2c751ace0357..2028ede14725 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)), -- GitLab