From c4e223b368ac7a899c7dbf131ca74fe1c954e7d9 Mon Sep 17 00:00:00 2001 From: bert-w Date: Tue, 27 Feb 2024 23:18:35 +0100 Subject: [PATCH] optional arg --- src/Illuminate/Database/Query/Builder.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 97d3edd5dcff..c418d890808c 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -239,7 +239,10 @@ class Builder implements BuilderContract */ public $useWritePdo = false; - public FetchMode $fetchMode; + /** + * @var FetchMode|null + */ + public FetchMode|null $fetchMode = null; /** * Create a new query builder instance.