Make properties public
This commit is contained in:
parent
259247464a
commit
71ae46fac7
|
@ -22,7 +22,7 @@ class DocumentList
|
|||
* @param PDOStatement|null $result The result of the query
|
||||
* @param Mapper<TDoc> $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
|
||||
|
|
Loading…
Reference in New Issue
Block a user