diff --git a/Classes/Interfaces/ConstructibleFromString.php b/Classes/Interfaces/ConstructibleFromString.php index a9f8ef5..118f2a0 100644 --- a/Classes/Interfaces/ConstructibleFromString.php +++ b/Classes/Interfaces/ConstructibleFromString.php @@ -10,11 +10,7 @@ interface ConstructibleFromString { /** - * Creates an instance of the class based on the provided string. - * - * @param string $value - * - * @return object + * Creates an instance of the class based on the provided string */ - public static function fromString(string $value); + public static function fromString(string $value): ?object; }