type fixes

This commit is contained in:
Yuri Kuznetsov
2022-03-06 17:58:44 +02:00
parent a635bc246a
commit 1898ccbd6b
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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)
{
+1 -1
View File
@@ -37,7 +37,7 @@ use Espo\Core\{
class DateTime implements Loader
{
protected $config;
private Config $config;
public function __construct(Config $config)
{