From ad7fa4ba161e92351e11d87c457b7d39a476db7a Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 4 May 2023 16:52:09 +0100 Subject: [PATCH] Issue #3358044 by solideogloria, longwave: Fix parameter type hint order in AccessResultReasonInterface and FileListingTest --- core/lib/Drupal/Core/Access/AccessResultReasonInterface.php | 2 +- core/modules/file/tests/src/Functional/FileListingTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Access/AccessResultReasonInterface.php b/core/lib/Drupal/Core/Access/AccessResultReasonInterface.php index 8ed1c6ad3a71..d011fe562586 100644 --- a/core/lib/Drupal/Core/Access/AccessResultReasonInterface.php +++ b/core/lib/Drupal/Core/Access/AccessResultReasonInterface.php @@ -26,7 +26,7 @@ public function getReason(); /** * Sets the reason for this access result. * - * @param $reason string|null + * @param string|null $reason * The reason of this access result or NULL if no reason is provided. * * @return \Drupal\Core\Access\AccessResultInterface diff --git a/core/modules/file/tests/src/Functional/FileListingTest.php b/core/modules/file/tests/src/Functional/FileListingTest.php index e5a121b1dcbd..8268927600f6 100644 --- a/core/modules/file/tests/src/Functional/FileListingTest.php +++ b/core/modules/file/tests/src/Functional/FileListingTest.php @@ -56,7 +56,7 @@ protected function setUp(): void { /** * Calculates total count of usages for a file. * - * @param $usage array + * @param array $usage * Array of file usage information as returned from file_usage subsystem. * * @return int -- GitLab