src/Config/Config.php
Possibly zero references to public method \Mvc5\Config\Config::has()
Open
Open
function has($name) : bool
- Exclude checks
Returning type \Mvc5\Config\Config
but with()
is declared to return \Mvc5\Config\Model
Open
Open
return $new;
- Exclude checks
Returning type \Mvc5\Config\Config
but without()
is declared to return \Mvc5\Config\Model
Open
Open
return $new;
- Exclude checks
Return type of set()
is undeclared type \Mvc5\Config\mixed
Open
Open
function set($name, $value = null) : mixed
- Exclude checks
Doc-block of with
contains declared return type mixed
which is incompatible with the return type \Mvc5\Config\Model
declared in the signature Open
Open
* @return Model|mixed
- Exclude checks
Declaration of function without(array|string $name) : \Mvc5\Config\Model|mixed
should be compatible with function without(array|string $name, array $options = null) : \Mvc5\Cookie\Cookies
defined in /code/src/Cookie/Cookies.php:31
Open
Open
function without($name) : Model
- Exclude checks
Declaration of function without($name) : \Mvc5\Config\Model
should be compatible with function without($name, array $options = null) : \Mvc5\Cookie\Cookies
(the method override accepts 1 parameter(s), but the overridden method can accept 2) defined in /code/src/Cookie/Cookies.php:31
Open
Open
function without($name) : Model
- Exclude checks
Doc-block of without
contains declared return type mixed
which is incompatible with the return type \Mvc5\Config\Model
declared in the signature Open
Open
* @return Model|mixed
- Exclude checks
Doc-block of set
contains declared return type mixed
which is incompatible with the return type \Mvc5\Config\mixed
declared in the signature Open
Open
* @return mixed
- Exclude checks
Returning type array
but set()
is declared to return \Mvc5\Config\mixed
Open
Open
return $name;
- Exclude checks
Declaration of function with(array|string $name, mixed $value = null) : \Mvc5\Config\Model|mixed
should be compatible with function with(array|string $name, null|string $value = null, array $options = null) : \Mvc5\Cookie\Cookies
defined in /code/src/Cookie/Cookies.php:24
Open
Open
function with($name, $value = null) : Model
- Exclude checks
Declaration of function with($name, $value = null) : \Mvc5\Config\Model
should be compatible with function with($name, $value = null, array $options = null) : \Mvc5\Cookie\Cookies
(the method override accepts 2 parameter(s), but the overridden method can accept 3) defined in /code/src/Cookie/Cookies.php:24
Open
Open
function with($name, $value = null) : Model
- Exclude checks