Do not pass unused parameter
authorJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 16:46:07 +0000 (17:46 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 16:46:07 +0000 (17:46 +0100)
Found by PHPStan.

Change-Id: I760e7382931ac00317319bee5223b0230b24bb7d

includes/media/Exif.php

index 9977f45..c32a720 100644 (file)
@@ -290,7 +290,7 @@ class Exif {
                        $this->byteOrder = 'BE'; // BE seems about twice as popular as LE in jpg's.
                }
 
-               $this->debugFile( $this->basename, __FUNCTION__, true );
+               $this->debugFile( __FUNCTION__, true );
                if ( function_exists( 'exif_read_data' ) ) {
                        Wikimedia\suppressWarnings();
                        $data = exif_read_data( $this->file, 0, true );