mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
chore: add larastan
This commit is contained in:
parent
c1a4acc40a
commit
1122764333
8 changed files with 209 additions and 4 deletions
|
|
@ -142,6 +142,7 @@ class Device extends Model
|
|||
public function getNextPlaylistItem(): ?PlaylistItem
|
||||
{
|
||||
// Get all active playlists
|
||||
/** @var \Illuminate\Support\Collection|Playlist[] $playlists */
|
||||
$playlists = $this->playlists()
|
||||
->where('is_active', true)
|
||||
->get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue