Disable PHPCS rules as it implements an interface

This commit is contained in:
Mészáros Róbert 2020-04-09 14:48:25 +03:00
parent 8ff6ef7bd5
commit f6051f56f2

View file

@ -19,7 +19,8 @@ class Settings implements ContainerInterface
$this->formFields = $formFields;
}
// phpcs:ignore Inpsyde.CodeQuality.ReturnTypeDeclaration.NoReturnType
// phpcs:disable Inpsyde.CodeQuality.ReturnTypeDeclaration.NoReturnType
// phpcs:disable Inpsyde.CodeQuality.ArgumentTypeDeclaration.NoArgumentType
public function get($id)
{
if (!$this->has($id)) {