Parsing issue when calculating references
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3447544. -->
Reported by: [fjgarlin](https://www.drupal.org/user/2495842)
Related to !35
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>From the logs:</p>
<pre>│ 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 │<br>│ #1 /app/web/modules/contrib/api/src/Entity/DocBlock/DocReference.php(676): Drupal\api\Entity\DocBlock\DocReference::calculateClassMembers() │<br>│ #2 /app/web/modules/contrib/api/src/Plugin/QueueWorker/ParseQueueWorker.php(66): Drupal\api\Entity\DocBlock\DocReference::updateClassReferenceInfo() │<br>│ #3 /app/vendor/drush/drush/src/Commands/core/QueueCommands.php(104): Drupal\api\Plugin\QueueWorker\ParseQueueWorker->processItem()</pre><p>This situation is very unlikely to happen, but it obviously did, so make sure it doesn't error so the parsing can continue.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<pre>if (!$docBlock) {<br> return $members;<br>}</pre>
issue