1 Commits
v1.2.6 ... main

Author SHA1 Message Date
808fd747fe fixed empty docblock 2026-04-14 12:33:33 +02:00

View File

@ -272,8 +272,11 @@ class APIlite
return null;
}
private function parseReturnDoc(string $doc): string|null
private function parseReturnDoc(?string $doc): string|null
{
if (is_null($doc) || $doc === '') {
return null;
}
$lines = explode("\n", $doc);
foreach ($lines as $line) {
if (strpos($line, '@return') !== false) {