Skip to content

Commit a21fd31

Browse files
author
Greg Bowler
committed
remove duplicate parameter declaration
1 parent 23c352d commit a21fd31

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Core/DirectoryRecursor.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,11 @@ public static function purge($path) {
109109
* Removes the provided file or directory, returning the number of successful
110110
* operations (for use in other functions to count total operations).
111111
*
112-
* @param \SplFileInfo $path Iterator's current item
113-
* @param \Iterator $iterator Iterator used by walk method
112+
* @param \SplFileInfo $file Iterator's current item
114113
*
115114
* @return int Number of successful operations
116115
*/
117-
public static function purgeFile($file, $file) {
116+
public static function purgeFile($file) {
118117
$pathname = $file->getPathname();
119118

120119
if($file->isDir()) {

0 commit comments

Comments
 (0)