From 60461df93355f7d771657a77b783dc144279f648 Mon Sep 17 00:00:00 2001 From: Lucas Michot Date: Thu, 31 Aug 2017 21:32:03 +0200 Subject: [PATCH] Fix collects visbibility --- src/Illuminate/Http/Resources/Json/Resource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Resources/Json/Resource.php b/src/Illuminate/Http/Resources/Json/Resource.php index 382175eeec44..41d8efb8df38 100644 --- a/src/Illuminate/Http/Resources/Json/Resource.php +++ b/src/Illuminate/Http/Resources/Json/Resource.php @@ -82,7 +82,7 @@ public static function collection($resource) /** * @var string */ - protected $collects; + public $collects; /** * Create a new anonymous resource collection.