src/View/SharedLayout.php

Summary

Maintainability
A
0 mins
Test Coverage

Declaration of function withService(\Mvc5\Service\Service $service) : \Mvc5\View\ViewLayout should be compatible with function withService(\Mvc5\Service\Service $service) : \Mvc5\View\ViewModel (method returning '\Mvc5\View\ViewLayout' cannot override method returning '\Mvc5\View\ViewModel') defined in /code/src/View/ViewModel.php:23
Open

    function withService(Service $service) : ViewLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Iterator::key
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract method \Mvc5\Template\TemplateModel::withTemplate declared at /code/src/Template/TemplateModel.php:25
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

Declaration of function with($name, $value = null) : \Mvc5\View\ViewLayout should be compatible with function with($name, $value = null) : \Mvc5\Config\Model (method returning '\Mvc5\View\ViewLayout' cannot override method returning '\Mvc5\Config\Model') defined in /code/src/Config/Config.php:87
Open

    function with($name, $value = null) : ViewLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Countable::count
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Iterator::rewind
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Iterator::valid
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

Declaration of function with($name, $value = null) : \Mvc5\View\ViewLayout should be compatible with function with($name, $value = null) : \Mvc5\Config\Model (method returning '\Mvc5\View\ViewLayout' cannot override method returning '\Mvc5\Config\Model') defined in /code/src/Config/Model.php:28
Open

    function with($name, $value = null) : ViewLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Iterator::next
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

Declaration of function without($name) : \Mvc5\View\ViewLayout should be compatible with function without($name) : \Mvc5\Config\Model (method returning '\Mvc5\View\ViewLayout' cannot override method returning '\Mvc5\Config\Model') defined in /code/src/Config/Model.php:34
Open

    function without($name) : ViewLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract internal method \Iterator::current
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract method \Mvc5\Template\TemplateModel::vars declared at /code/src/Template/TemplateModel.php:19
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

non-abstract class \Mvc5\View\SharedLayout contains abstract method \Mvc5\Template\TemplateModel::template declared at /code/src/Template/TemplateModel.php:14
Open

class SharedLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

Declaration of function without($name) : \Mvc5\View\ViewLayout should be compatible with function without($name) : \Mvc5\Config\Model (method returning '\Mvc5\View\ViewLayout' cannot override method returning '\Mvc5\Config\Model') defined in /code/src/Config/Config.php:102
Open

    function without($name) : ViewLayout
Severity: Critical
Found in src/View/SharedLayout.php by phan

There are no issues that match your filters.

Category
Status