From ee5bedc0d6a5a2a0af44e845543ef81cf873bf5a Mon Sep 17 00:00:00 2001 From: siad007 Date: Tue, 6 Apr 2021 14:13:33 +0200 Subject: [PATCH] Fixed return type --- src/Phing/Project.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Phing/Project.php b/src/Phing/Project.php index 256a90a251..2ebf35f9ac 100644 --- a/src/Phing/Project.php +++ b/src/Phing/Project.php @@ -292,10 +292,10 @@ public function setInheritedProperty(string $name, $value): void * May be null, in which case * the return value is also null. * - * @return string|null the property value, or null for no match + * @return mixed the property value, or null for no match * or if a null name is provided */ - public function getProperty(?string $name): ?string + public function getProperty(?string $name) { return PropertyHelper::getPropertyHelper($this)->getProperty(null, $name); }