Make WordPress Core

Ticket #48267: 48267-lsp-fixes.patch

File 48267-lsp-fixes.patch, 554 bytes (added by ayeshrajans, 4 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..5f7bc7a12a 100644
    a b public function __construct( $server, $path = false, $port = false, $timeout = 1 
    4848        /**
    4949         * @return bool
    5050         */
    51         public function query() {
     51        public function query( ...$args ) {
    5252                $args    = func_get_args();
    5353                $method  = array_shift( $args );
    5454                $request = new IXR_Request( $method, $args );