$instance->picture of type void is incompatible with the type object expected by parameter $object of LiveStream\Resources\Resource::fromObject().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation