We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c352d commit a21fd31Copy full SHA for a21fd31
src/Core/DirectoryRecursor.php
@@ -109,12 +109,11 @@ public static function purge($path) {
109
* Removes the provided file or directory, returning the number of successful
110
* operations (for use in other functions to count total operations).
111
*
112
- * @param \SplFileInfo $path Iterator's current item
113
- * @param \Iterator $iterator Iterator used by walk method
+ * @param \SplFileInfo $file Iterator's current item
114
115
* @return int Number of successful operations
116
*/
117
-public static function purgeFile($file, $file) {
+public static function purgeFile($file) {
118
$pathname = $file->getPathname();
119
120
if($file->isDir()) {
0 commit comments