There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: __toString, getCode, getFile, getLine, getMessage, getPrevious, getTrace, getTraceAsString
Loading history...
24
{
25
public function __construct(string $phoneNumber)
26
{
27
parent::__construct("Phone number '$phoneNumber' is not valid");