type fixes
This commit is contained in:
@@ -33,18 +33,18 @@ use Espo\Core\Container;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @todo Remove in 6.4.
|
||||
* @todo Remove.
|
||||
*/
|
||||
abstract class Base implements Loader
|
||||
{
|
||||
protected $container;
|
||||
protected $container; /** @phpstan-ignore-line */
|
||||
|
||||
public function __construct(Container $container)
|
||||
{
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
protected function getContainer()
|
||||
protected function getContainer() /** @phpstan-ignore-line */
|
||||
{
|
||||
return $this->container;
|
||||
}
|
||||
|
||||
@@ -38,9 +38,9 @@ use Espo\Core\{
|
||||
|
||||
class BaseLanguage implements Loader
|
||||
{
|
||||
private $injectableFactory;
|
||||
private InjectableFactory $injectableFactory;
|
||||
|
||||
protected $config;
|
||||
protected Config $config;
|
||||
|
||||
public function __construct(InjectableFactory $injectableFactory, Config $config)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ use Espo\Core\{
|
||||
|
||||
class DataManager implements Loader
|
||||
{
|
||||
protected $injectableFactory;
|
||||
private InjectableFactory $injectableFactory;
|
||||
|
||||
public function __construct(InjectableFactory $injectableFactory)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ use Espo\Core\{
|
||||
|
||||
class DateTime implements Loader
|
||||
{
|
||||
protected $config;
|
||||
private Config $config;
|
||||
|
||||
public function __construct(Config $config)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user