Parsing issue when calculating references
Problem/Motivation
From the logs:
│ TypeError: Drupal\api\Entity\DocBlock\DocReference::makeBareMemberList(): Argument #1 ($docBlock) must be of type Drupal\api\Interfaces\DocBlockInterface, null given, called in /app/web/modules/contrib/api/src/Entit │
│ #1 /app/web/modules/contrib/api/src/Entity/DocBlock/DocReference.php(676): Drupal\api\Entity\DocBlock\DocReference::calculateClassMembers() │
│ #2 /app/web/modules/contrib/api/src/Plugin/QueueWorker/ParseQueueWorker.php(66): Drupal\api\Entity\DocBlock\DocReference::updateClassReferenceInfo() │
│ #3 /app/vendor/drush/drush/src/Commands/core/QueueCommands.php(104): Drupal\api\Plugin\QueueWorker\ParseQueueWorker->processItem()
This situation is very unlikely to happen, but it obviously did, so make sure it doesn't error so the parsing can continue.
Proposed resolution
if (!$docBlock) {
return $members;
}