The type Netflie\Componentes\Prov...cts\Container\Container was not found. Did you mean Illuminate\Contracts\Container\Container? If so, make sure to prefix the type with \.
It seems like $app of type Illuminate\Contracts\Container\Container is incompatible with the declared type Netflie\Componentes\Prov...cts\Container\Container of property $app.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
18
}
19
20
public function register()
21
{
22
$this->registerEventProvider();
23
24
$this->registerViewProvider();
25
}
26
27
protected function registerEventProvider()
28
{
29
(new \Illuminate\Events\EventServiceProvider($this->app))->register();
30
}
31
32
protected function registerViewProvider()
33
{
34
(new ViewServiceProvider($this->app))->register();
35
36
$this->app->bind(ViewFactoryContract::class, function ($app) {