I'm trying to use this method :
public function setMessage(string $message){
$this->message = $message;
}
Then I get this error :
Catchable fatal error: Argument 1 passed to notifier::setMessage() must be an instance of string, string given
Apparently PHP is interpreting string as class name. Is there a look like solution to make that kind of declaration ?