From 7ed4d802a7ab6485ebdc1229afb6bc271f5df989 Mon Sep 17 00:00:00 2001 From: Jawira Portugal Date: Tue, 31 Dec 2024 12:01:20 +0100 Subject: [PATCH] fix: Add type to $excl parameter to fix type error This should fix https://github.com/phingofficial/phing/issues/1890 --- src/Phing/Type/AbstractFileSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Phing/Type/AbstractFileSet.php b/src/Phing/Type/AbstractFileSet.php index 22473ba9c..4f79254df 100644 --- a/src/Phing/Type/AbstractFileSet.php +++ b/src/Phing/Type/AbstractFileSet.php @@ -316,7 +316,7 @@ public function setIncludesfile(File $incl) * * @throws BuildException */ - public function setExcludesfile($excl) + public function setExcludesfile(File $excl) { if ($this->isReference()) { throw $this->tooManyAttributes();