$this of type Nip\View\Traits\HasExtensionsTrait is incompatible with the type Nip\View\ViewInterface expected by parameter $view of Nip\View\Extensions\ExtensionInterface::register().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation