diff --git a/src/IMetaModel.php b/src/IMetaModel.php index de02bf631..b3e4d8622 100644 --- a/src/IMetaModel.php +++ b/src/IMetaModel.php @@ -35,6 +35,8 @@ * @see MetaModelFactory::byId To instantiate a MetaModel by its ID. * * @see IFactory::getMetaModel To instantiate a MetaModel by its table name. + * + * @psalm-suppress DeprecatedInterface */ interface IMetaModel { @@ -44,8 +46,6 @@ interface IMetaModel * @return IMetaModelsServiceContainer * * @deprecated Inject services via constructor or setter. - * - * @psalm-suppress DeprecatedInterface */ public function getServiceContainer(); diff --git a/src/MetaModel.php b/src/MetaModel.php index 74879038e..f6fc5f751 100644 --- a/src/MetaModel.php +++ b/src/MetaModel.php @@ -193,8 +193,6 @@ public function getServiceContainer() * @return MetaModel * * @deprecated Inject services via constructor or setter. - * - * @psalm-suppress DeprecatedInterface */ public function setServiceContainer($serviceContainer, $deprecationNotice = true) {