From f28ac653a983d4d60d0aff979244a7f52c0cd9c1 Mon Sep 17 00:00:00 2001 From: Igor Nikolaev Date: Fri, 12 Jul 2019 14:48:49 +0300 Subject: [PATCH] Enable strict types in importable interface. --- Importable/ImportableInterface.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Importable/ImportableInterface.php b/Importable/ImportableInterface.php index d2dfb16..5682cb1 100644 --- a/Importable/ImportableInterface.php +++ b/Importable/ImportableInterface.php @@ -1,4 +1,4 @@ - * @copyright Copyright (c) 2018-2019, Darvin Studio @@ -18,12 +18,12 @@ interface ImportableInterface public const IMPORT_ID_FIELD = 'importId'; /** - * @return string + * @return string|null */ - public function getImportId(); + public function getImportId(): ?string; /** - * @param string $importId Import ID + * @param string|null $importId Import ID */ - public function setImportId($importId); + public function setImportId(?string $importId): void; }