Changing getMasterTrackFile back to protected

This commit is contained in:
Josef Citrine 2016-08-29 15:43:05 +01:00 committed by Peter Deltchev
parent e6ee85d6d9
commit d18d6bf23a

View file

@ -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();
}