From 414dd6832eaf11734e944c6aea37ec0afa36f35e Mon Sep 17 00:00:00 2001
From: Yash Rode <57207-yash.rode@users.noreply.drupalcode.org>
Date: Mon, 15 May 2023 13:28:30 +0000
Subject: [PATCH] Issue #3359825 by yash.rode, kunal.sachdev: Wrong return type
 for StatusChecker::getResults()

---
 src/Validation/StatusChecker.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Validation/StatusChecker.php b/src/Validation/StatusChecker.php
index cde3d100d7..2a358b5bac 100644
--- a/src/Validation/StatusChecker.php
+++ b/src/Validation/StatusChecker.php
@@ -104,7 +104,7 @@ final class StatusChecker implements EventSubscriberInterface {
    *   (optional) The severity for the results to return. Should be one of the
    *   SystemManager::REQUIREMENT_* constants.
    *
-   * @return \Drupal\package_manager\ValidationResult[]|
+   * @return \Drupal\package_manager\ValidationResult[]|null
    *   The validation result objects or NULL if no results are
    *   available or if the stored results are no longer valid.
    */
-- 
GitLab