From 7860d05eb42f79891b0725ea7156dc6e7debecb0 Mon Sep 17 00:00:00 2001 From: KevinVanSonsbeek Date: Tue, 7 Dec 2021 15:57:56 +0100 Subject: [PATCH 1/2] Added psalm param. --- lib/Doctrine/ORM/Query/Filter/SQLFilter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php index 2e02ac7692..20ba80de87 100644 --- a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php +++ b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php @@ -194,6 +194,7 @@ final protected function getConnection(): Connection /** * Gets the SQL query part to add to a query. * + * @psalm-param ClassMetadata $targetEntity * @param string $targetTableAlias * * @return string The constraint SQL if there is available, empty string otherwise. From 90c0e724e4d91cb6d11ff4d13e5c6c488bc86c7a Mon Sep 17 00:00:00 2001 From: KevinVanSonsbeek Date: Wed, 8 Dec 2021 16:51:41 +0100 Subject: [PATCH 2/2] Ran phpcbf to fix phpcs error. --- lib/Doctrine/ORM/Query/Filter/SQLFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php index 20ba80de87..7ebc2169d4 100644 --- a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php +++ b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php @@ -194,8 +194,8 @@ final protected function getConnection(): Connection /** * Gets the SQL query part to add to a query. * - * @psalm-param ClassMetadata $targetEntity * @param string $targetTableAlias + * @psalm-param ClassMetadata $targetEntity * * @return string The constraint SQL if there is available, empty string otherwise. */