Skip to content

Commit

Permalink
Fixed variable docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Dec 16, 2024
1 parent 70d5eaa commit 1592f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ private function createLoggingJob(string $type, int $timestamp, string $line, bo

try {
$queueStorage = $this->entityTypeManager->getStorage('advancedqueue_queue');
/** @var \Drupal\advancedqueue\Entity\Queue $queue */
/** @var \Drupal\advancedqueue\Entity\Queue|null $queue */
$queue = $queueStorage->load(self::OS2WEB_AUDIT_QUEUE_ID);

if (is_null($queue)) {
if (NULL === $queue) {
throw new \Exception(sprintf('Queue (%s) not found.', self::OS2WEB_AUDIT_QUEUE_ID));
}

Expand Down

0 comments on commit 1592f15

Please sign in to comment.