mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
Docs: Remove @static notations from method DocBlocks in wp-includes/* classes.
This tag has been used in the past, but should no longer be used. Just using the `static` keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static. Props birgire. See #42803. git-svn-id: https://develop.svn.wordpress.org/trunk@42746 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -23,8 +23,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $raw String to compress.
|
||||
* @param int $level Optional, default is 9. Compression level, 9 is highest.
|
||||
* @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports.
|
||||
@@ -44,8 +42,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $compressed String to decompress.
|
||||
* @param int $length The optional length of the compressed data.
|
||||
* @return string|bool False on failure.
|
||||
@@ -96,8 +92,6 @@ class WP_Http_Encoding {
|
||||
* @link https://secure.php.net/manual/en/function.gzinflate.php#70875
|
||||
* @link https://secure.php.net/manual/en/function.gzinflate.php#77336
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $gzData String to decompress.
|
||||
* @return string|bool False on failure.
|
||||
*/
|
||||
@@ -142,8 +136,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $url
|
||||
* @param array $args
|
||||
* @return string Types of encoding to accept.
|
||||
@@ -194,8 +186,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @return string Content-Encoding string to send in the header.
|
||||
*/
|
||||
public static function content_encoding() {
|
||||
@@ -207,8 +197,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param array|string $headers All of the available headers.
|
||||
* @return bool
|
||||
*/
|
||||
@@ -233,8 +221,6 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_available() {
|
||||
|
||||
Reference in New Issue
Block a user