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

Change-Id: Icf9f1c87ff2690b7a16c99418cdb1dae9d97ce25

includes/installer/WebInstallerOptions.php

index 953295a..4794712 100644 (file)
@@ -397,7 +397,7 @@ class WebInstallerOptions extends WebInstallerPage {
                $wrapperStyle = ( $this->getVar( '_LicenseCode' ) == 'cc-choose' ) ? '' : 'display: none';
 
                return "<div class=\"config-cc-wrapper\" id=\"config-cc-wrapper\" style=\"$wrapperStyle\">\n" .
-                       Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) .
+                       Html::element( 'iframe', $iframeAttribs ) .
                        "</div>\n";
        }