Skip to content

Commit

Permalink
Fix psalm issue for deprecated interface
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Jul 17, 2024
1 parent 4db8f95 commit 36e4384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/IMetaModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -44,8 +46,6 @@ interface IMetaModel
* @return IMetaModelsServiceContainer
*
* @deprecated Inject services via constructor or setter.
*
* @psalm-suppress DeprecatedInterface
*/
public function getServiceContainer();

Expand Down
2 changes: 0 additions & 2 deletions src/MetaModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 36e4384

Please sign in to comment.