Make WordPress Core

Ticket #48267: 48267-lsp-fixes.2.patch

File 48267-lsp-fixes.2.patch, 588 bytes (added by ayeshrajans, 3 years ago)
  • src/wp-includes/class-wp-http-ixr-client.php

    diff --git a/src/wp-includes/class-wp-http-ixr-client.php b/src/wp-includes/class-wp-http-ixr-client.php
    index f873e8f728..5d105ad5bb 100644
    a b public function __construct( $server, $path = false, $port = false, $timeout = 1 
    4848        /**
    4949         * @return bool
    5050         */
    51         public function query() {
    52                 $args    = func_get_args();
     51        public function query( ...$args ) {
    5352                $method  = array_shift( $args );
    5453                $request = new IXR_Request( $method, $args );
    5554                $xml     = $request->getXml();