From 1354b1b006d34debbf50408f6e1ddd4fccdab418 Mon Sep 17 00:00:00 2001 From: Bas de Groot Date: Tue, 15 Dec 2020 10:50:13 +0100 Subject: [PATCH] Set default $collections to an empty array --- src/QueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryBuilder.php b/src/QueryBuilder.php index 56500f1..06438bf 100644 --- a/src/QueryBuilder.php +++ b/src/QueryBuilder.php @@ -59,7 +59,7 @@ class QueryBuilder * * @var array */ - public $collections; + public $collections = []; /** * List of Clauses to be compiled into a query.