From cbbde5adb14d64d1171bda03396e3da42ea46d12 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Mon, 4 Jan 2016 14:52:18 +0000 Subject: [PATCH] Fix PHP7 failure --- src/Core/DirectoryRecursor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/DirectoryRecursor.php b/src/Core/DirectoryRecursor.php index e6975d1b..feea474c 100644 --- a/src/Core/DirectoryRecursor.php +++ b/src/Core/DirectoryRecursor.php @@ -114,7 +114,7 @@ public static function purge($path) { * * @return int Number of successful operations */ -public static function purgeFile($file, $file) { +public static function purgeFile($file) { $pathname = $file->getPathname(); if($file->isDir()) { @@ -129,4 +129,4 @@ public static function purgeFile($file, $file) { return 0; } -}# \ No newline at end of file +}#