Bu kodu vardır
$return = $ep->$method($params);
if ($return === null) {
throw new Exception('Endpoint has no return value');
}
return $return;
null
döndüren bir yöntem ve bir şey dönmez bir yöntem ayırt etmek için herhangi bir yolu var mı?