Skip to content

Commit

Permalink
Enable strict types in importable interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Jul 12, 2019
1 parent a40411a commit f28ac65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Importable/ImportableInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* @author Igor Nikolaev <igor.sv.n@gmail.com>
* @copyright Copyright (c) 2018-2019, Darvin Studio
Expand All @@ -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;
}

0 comments on commit f28ac65

Please sign in to comment.