src/Pug/Symfony/MixedLoader.php
Return type of getSourceContext()
is undeclared type \Twig\Source
(Did you mean resource) Open
Open
public function getSourceContext(string $name): Source
- Exclude checks
Property \Pug\Symfony\MixedLoader->base
has undeclared type \Twig\Loader\LoaderInterface
Open
Open
protected $base;
- Exclude checks
Parameter $base
has undeclared type \Twig\Loader\LoaderInterface
Open
Open
public function __construct(LoaderInterface $base)
- Exclude checks
Call to method exists
from undeclared class \Twig\Loader\LoaderInterface
Open
Open
return $this->base->exists($name);
- Exclude checks
Call to method getSourceContext
from undeclared class \Twig\Loader\LoaderInterface
Open
Open
return $this->base->getSourceContext($name);
- Exclude checks
Call to method __construct
from undeclared class \Twig\Source
Open
Open
return new Source($this->extraTemplates[$name], $name);
- Exclude checks
Call to method getCacheKey
from undeclared class \Twig\Loader\LoaderInterface
Open
Open
return $this->base->getCacheKey($name);
- Exclude checks
@throws type of isFresh
has undeclared type \Twig\Error\LoaderError
Open
Open
public function isFresh(string $name, $time): bool
- Exclude checks
@throws type of getCacheKey
has undeclared type \Twig\Error\LoaderError
Open
Open
public function getCacheKey(string $name): string
- Exclude checks
Call to method isFresh
from undeclared class \Twig\Loader\LoaderInterface
Open
Open
return $this->base->isFresh($name, $time);
- Exclude checks
Class implements undeclared interface \Twig\Loader\LoaderInterface
Open
Open
class MixedLoader implements LoaderInterface
- Exclude checks