I've one PHP class, in that I found one a function e.g
public static function success(string $userid, string $message):bool
{
return self::add($userid, $message, 'success');
}
Can someone please tell that what does mean :bool
after function name?
From the documentation (emphasis mine):