Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Classes/Interfaces/ConstructibleFromString.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}