From d18d6bf23aa468738c39ecffdb83349d1b61015c Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Mon, 29 Aug 2016 15:43:05 +0100 Subject: [PATCH] Changing getMasterTrackFile back to protected --- app/Models/Track.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Track.php b/app/Models/Track.php index cf8de179..4f1bbf79 100644 --- a/app/Models/Track.php +++ b/app/Models/Track.php @@ -646,7 +646,7 @@ class Track extends Model implements Searchable, Commentable, Favouritable } - public function getMasterTrackFile() : TrackFile + protected function getMasterTrackFile() : TrackFile { return $this->trackFiles()->where('is_master', true)->first(); }