It seems like getStreamableItems() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
23
foreach ($this->/** @scrutinizer ignore-call */ getStreamableItems() as $mediaItem)
Loading history...
24
{
25
$name = $mediaItem->getDisplayName();
26
27
// Get the links to the media. We have to omit credentials from the
28
// URLs if the user is using Internet Explorer since it won't