Should the return type not be \AframeVR\Interfaces\MixinInterface?
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
42
*/
43
1
public function mixin(string $name = 'untitled'): MixinInterface
44
{
45
1
return $this->mixins[$name] ?? $this->mixins[$name] = new Mixin();
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.