From 71ae46fac7d0101cd255371d0bf6259b5f3b352a Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Tue, 4 Jun 2024 21:49:30 -0400 Subject: [PATCH] Make properties public --- src/DocumentList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DocumentList.php b/src/DocumentList.php index de3dd32..da5d0f3 100644 --- a/src/DocumentList.php +++ b/src/DocumentList.php @@ -22,7 +22,7 @@ class DocumentList * @param PDOStatement|null $result The result of the query * @param Mapper $mapper The mapper to deserialize JSON */ - private function __construct(private ?PDO $pdo, private ?PDOStatement $result, private Mapper $mapper) { } + private function __construct(private ?PDO $pdo, public ?PDOStatement $result, public Mapper $mapper) { } /** * Construct a new document list