diff --git a/Core/Core_c.php b/Core/Core_c.php index b75236ab..ed6462e1 100644 --- a/Core/Core_c.php +++ b/Core/Core_c.php @@ -569,7 +569,6 @@ final class Closure { /** * This method is a static version of Closure::bindTo(). * See the documentation of that method for more information. - * @static * @link https://secure.php.net/manual/en/closure.bind.php * @param Closure $closure The anonymous functions to bind. * @param object $newthis The object to which the given anonymous function should be bound, or NULL for the closure to be unbound. diff --git a/SimpleXML/SimpleXML.php b/SimpleXML/SimpleXML.php index 5e3317b5..aaa080b1 100644 --- a/SimpleXML/SimpleXML.php +++ b/SimpleXML/SimpleXML.php @@ -23,7 +23,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable { /** * Provides access to element's children - * @access private Method not callable directly, stub exists for typehint only + * private Method not callable directly, stub exists for typehint only * @param string $name child name * @return SimpleXMLElement */ @@ -214,7 +214,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable { /** * Class provides access to children by position, and attributes by name - * @access private Method not callable directly, stub exists for typehint only + * private Method not callable directly, stub exists for typehint only * @param string|int $offset * @return bool true on success or false on failure. */ @@ -222,7 +222,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable { /** * Class provides access to children by position, and attributes by name - * @access private Method not callable directly, stub exists for typehint only + * private Method not callable directly, stub exists for typehint only * @param string|int $offset * @return SimpleXMLElement Either a named attribute or an element from a list of children */ @@ -230,7 +230,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable { /** * Class provides access to children by position, and attributes by name - * @access private Method not callable directly, stub exists for typehint only + * private Method not callable directly, stub exists for typehint only * @param string|int $offset * @param mixed $value * @return void @@ -239,7 +239,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable { /** * Class provides access to children by position, and attributes by name - * @access private Method not callable directly, stub exists for typehint only + * private Method not callable directly, stub exists for typehint only * @param string|int $offset * @return void */ diff --git a/cassandra/cassandra.php b/cassandra/cassandra.php index 5d2ebde1..9b57e3a6 100644 --- a/cassandra/cassandra.php +++ b/cassandra/cassandra.php @@ -4189,7 +4189,7 @@ namespace Cassandra { /** * Initialize a Collection type - * @code{.php} + * ```php * create(1, 2, 3, 4, 5, 6, 7, 8, 9); * * var_dump($collection); - * @endcode + * ``` * * @param \Cassandra\Type $type The type of values * @@ -4210,7 +4210,7 @@ namespace Cassandra { /** * Initialize a set type - * @code{.php} + * ``` * create("a", "b", "c", "d", "e", "f", "g", "h", "i", "j"); * * var_dump($set); - * @endcode + * ``` * * @param \Cassandra\Type $type The types of values * @@ -4231,15 +4231,13 @@ namespace Cassandra { /** * Initialize a map type - * @code{.php} - * create(1, "a", 2, "b", 3, "c", 4, "d", 5, "e", 6, "f") * - * var_dump($map); - * @endcode + * var_dump($map);``` * * @param \Cassandra\Type $keyType The type of keys * @param \Cassandra\Type $valueType The type of values @@ -4253,15 +4251,13 @@ namespace Cassandra { /** * Initialize a tuple type - * @code{.php} - * create("a", 123); * - * var_dump($tuple); - * @endcode + * var_dump($tuple);``` * * @param \Cassandra\Type $types A variadic list of types * @@ -4274,15 +4270,13 @@ namespace Cassandra { /** * Initialize a user type - * @code{.php} - * create("a", "abc", "b", 123); * - * var_dump($userType); - * @endcode + * var_dump($userType);``` * * @param \Cassandra\Type $types A variadic list of name/type pairs * @@ -7043,8 +7037,7 @@ namespace Cassandra\Type { /** * Creates a new Map from the given values. * - * @code{.php} - * TRUE on success. Throwing ImagickPixelIteratorException. - * @throw ImagickPixelIteratorException + * @throws ImagickPixelIteratorException */ public function newPixelIterator (Imagick $wand) {} diff --git a/inotify/inotify.php b/inotify/inotify.php index 57e3762c..46fb6fa4 100644 --- a/inotify/inotify.php +++ b/inotify/inotify.php @@ -84,117 +84,94 @@ function inotify_rm_watch( $inotify_instance, $watch_descriptor ) } /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ACCESS = 1; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MODIFY = 2; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ATTRIB = 4; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_CLOSE_WRITE = 8; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_CLOSE_NOWRITE = 16; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_OPEN = 32; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MOVED_FROM = 64; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MOVED_TO = 128; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_CREATE = 256; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_DELETE = 512; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_DELETE_SELF = 1024; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MOVE_SELF = 2048; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_UNMOUNT = 8192; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_Q_OVERFLOW = 16384; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_IGNORED = 32768; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_CLOSE = 24; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MOVE = 192; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ALL_EVENTS = 4095; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ONLYDIR = 16777216; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_DONT_FOLLOW = 33554432; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_MASK_ADD = 536870912; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ISDIR = 1073741824; /** - * @type int * @link https://php.net/manual/en/inotify.constants.php */ const IN_ONESHOT = 2147483648; diff --git a/mongo/mongo.php b/mongo/mongo.php index 740eaa14..eec3a4b6 100644 --- a/mongo/mongo.php +++ b/mongo/mongo.php @@ -149,7 +149,6 @@ class MongoClient /** * Get connections * Returns an array of all open connections, and information about each of the servers - * @static * @return array */ static public function getConnections () @@ -1239,7 +1238,6 @@ class MongoCollection { /** * @param mixed $keys - * @static * @return string */ protected static function toIndexString($keys) {} @@ -1263,7 +1261,6 @@ class MongoCollection { class MongoCursor implements Iterator { /** * @link https://php.net/manual/en/class.mongocursor.php#mongocursor.props.slaveokay - * @static * @var bool $slaveOkay */ public static $slaveOkay = FALSE; @@ -1840,7 +1837,6 @@ class MongoGridFSFile { class MongoGridFSCursor extends MongoCursor implements Traversable, Iterator { /** - * @static * @var $slaveOkay */ public static $slaveOkay; @@ -2133,13 +2129,11 @@ class MongoBinData { class MongoDBRef { /** - * @static * @var $refKey */ protected static $refKey = '$ref'; /** - * @static * @var $idKey */ protected static $idKey = '$id'; @@ -2148,7 +2142,6 @@ class MongoDBRef { * If no database is given, the current database is used. * * @link https://php.net/manual/en/mongodbref.create.php - * @static * @param string $collection Collection name (without the database name) * @param mixed $id The _id field of the object to which to link * @param string $database Database name @@ -2161,7 +2154,6 @@ class MongoDBRef { * It merely checks that $ref is in valid database reference format (in that it is an object or array with $ref and $id fields). * * @link https://php.net/manual/en/mongodbref.isref.php - * @static * @param mixed $ref Array or object to check * @return bool Returns true if $ref is a reference */ @@ -2170,7 +2162,6 @@ class MongoDBRef { /** * Fetches the object pointed to by a reference * @link https://php.net/manual/en/mongodbref.get.php - * @static * @param MongoDB $db Database to use * @param array $ref Reference to fetch * @return array|null Returns the document to which the reference refers or null if the document does not exist (the reference is broken) @@ -2547,7 +2538,6 @@ class MongoLog { * section with bitwise operators to specify levels. * * @link https://php.net/manual/en/mongolog.setlevel.php - * @static * @param int $level The levels you would like to log * @return void */ @@ -2558,7 +2548,6 @@ class MongoLog { * MongoLog section with bitwise operators to check the level. * * @link https://php.net/manual/en/mongolog.getlevel.php - * @static * @return int Returns the current level */ public static function getLevel() {} @@ -2569,7 +2558,6 @@ class MongoLog { * bitwise operators to specify modules. * * @link https://php.net/manual/en/mongolog.setmodule.php - * @static * @param int $module The module(s) you would like to log * @return void */ @@ -2581,7 +2569,6 @@ class MongoLog { * operators to check if specific modules are being logged. * * @link https://php.net/manual/en/mongolog.getmodule.php - * @static * @return int Returns the modules currently being logged */ public static function getModule() {} @@ -2592,7 +2579,6 @@ class MongoPool { * Returns an array of information about all connection pools. * * @link https://php.net/manual/en/mongopool.info.php - * @static * @return array Each connection pool has an identifier, which starts with the host. For * each pool, this function shows the following fields: $in use The number of * connections currently being used by Mongo instances. $in pool The number of @@ -2620,7 +2606,6 @@ class MongoPool { * Sets the max number of connections new pools will be able to create. * * @link https://php.net/manual/en/mongopool.setsize.php - * @static * @param int $size The max number of connections future pools will be able to * create. Negative numbers mean that the pool will spawn an infinite number of * connections @@ -2632,7 +2617,6 @@ class MongoPool { * . * * @link https://php.net/manual/en/mongopool.getsize.php - * @static * @return int Returns the current pool size */ public static function getSize() {} diff --git a/mongodb/mongodb.php b/mongodb/mongodb.php index 571209bf..38790f81 100644 --- a/mongodb/mongodb.php +++ b/mongodb/mongodb.php @@ -886,7 +886,7 @@ namespace MongoDB {} * @link https://php.net/manual/en/mongodb-driver-bulkwrite.insert.php * @param array|object $document * @return mixed - * @Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors. + * @throws InvalidArgumentException on argument parsing errors. */ public final function insert($document) { diff --git a/mqseries/mqseries.php b/mqseries/mqseries.php index 0f9880d7..262e2ba7 100644 --- a/mqseries/mqseries.php +++ b/mqseries/mqseries.php @@ -9,7 +9,7 @@ function mqseries_back($hconn, &$compCode, &$reason) { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param array $beginOptions * @param resource $compCode @@ -19,7 +19,7 @@ function mqseries_begin($hconn, array $beginOptions, &$compCode, &$reason) { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param resource $hobj * @param int $options @@ -39,7 +39,7 @@ function mqseries_cmit($hconn, &$compCode, &$reason) { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param string $qManagerName * @param resource $hconn * @param resource $compCode @@ -49,7 +49,7 @@ function mqseries_conn($qManagerName, &$hconn, &$compCode, &$reason) { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param string $qManagerName * @param array $connOptions * @param resource $hconn @@ -69,7 +69,7 @@ function mqseries_disc($hconn, &$compCode, &$reason) { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hConn * @param resource $hObj * @param array $md @@ -84,7 +84,7 @@ function mqseries_get($hConn, $hObj, array &$md, array &$gmo, &$bufferLength, &$ { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param resource $hobj * @param int $selectorCount @@ -100,7 +100,7 @@ function mqseries_inq($hconn, $hobj, $selectorCount, array $selectors, $intAttrC { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param array $objDesc * @param int $option @@ -112,7 +112,7 @@ function mqseries_open($hconn, array &$objDesc, $option, &$hobj, &$compCode, &$r { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param resource $objDesc * @param resource $msgDesc @@ -125,7 +125,7 @@ function mqseries_put1($hconn, &$objDesc, &$msgDesc, &$pmo, $buffer, &$compCode, { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hConn * @param resource $hObj * @param array $md @@ -138,7 +138,7 @@ function mqseries_put($hConn, $hObj, array &$md, array &$pmo, $message, &$compCo { } -/** @noinspection MoreThanThreeArgumentsInspection +/** * @param resource $hconn * @param resource $hobj * @param int $selectorcount diff --git a/oauth/oauth.php b/oauth/oauth.php index 6e4e834d..8742efff 100644 --- a/oauth/oauth.php +++ b/oauth/oauth.php @@ -312,8 +312,6 @@ class OAuthProvider { * @param int $size * @param bool $strong * @return string - * @static - * @final */ final public static function generateToken($size, $strong = false) { } @@ -332,16 +330,13 @@ class OAuthProvider { /** * @param string $req_params * @return bool - * @final */ final public function removeRequiredParameter($req_params) { } /** * @param string $oauthexception * @param bool $send_headers - * @static * @return string - * @final */ final public static function reportProblem($oauthexception, $send_headers = true) { } @@ -349,7 +344,6 @@ class OAuthProvider { * @param string $param_key * @param mixed $param_val * @return bool - * @final */ final public function setParam($param_key, $param_val = null) { } @@ -357,7 +351,6 @@ class OAuthProvider { /** * @param string $path * @return bool - * @final */ final public function setRequestTokenPath($path) { } diff --git a/pcntl/pcntl.php b/pcntl/pcntl.php index b1795307..e3543225 100644 --- a/pcntl/pcntl.php +++ b/pcntl/pcntl.php @@ -457,7 +457,7 @@ function pcntl_async_signals($on = null) {} function pcntl_signal_get_handler($signo) {} /** - * @sine 7.4 + * @since 7.4 */ function pcntl_unshare($flags){} diff --git a/standard/standard_5.php b/standard/standard_5.php index 1ae561fa..ff1f785e 100644 --- a/standard/standard_5.php +++ b/standard/standard_5.php @@ -366,9 +366,7 @@ function popen ($command, $mode) {} * @param resource $context [optional]

* A context stream resource. *

- * @return false|int the number of bytes read from the file. If an error - * occurs, false is returned and unless the function was called as - * @readfile, an error message is printed. + * @return false|int the number of bytes read from the file, or FALSE on failure */ function readfile ($filename, $use_include_path = null, $context = null) {} diff --git a/standard/standard_8.php b/standard/standard_8.php index 7b1d7703..e0fd5a6b 100644 --- a/standard/standard_8.php +++ b/standard/standard_8.php @@ -68,7 +68,7 @@ function closelog () {} * Registers a function that will be called when PHP starts sending output. * The callback is executed just after PHP prepares all headers to be sent,
* and before any other output is sent, creating a window to manipulate the outgoing headers before being sent. - * @linkhttps://secure.php.net/manual/en/function.header-register-callback.php + * @link https://secure.php.net/manual/en/function.header-register-callback.php * @param callable $callback Function called just before the headers are sent. * @return bool true on success or false on failure. */ diff --git a/winbinder/winbinder.php b/winbinder/winbinder.php index bc5eb594..698126a2 100644 --- a/winbinder/winbinder.php +++ b/winbinder/winbinder.php @@ -1,4 +1,4 @@ - - * @return int the number of (uncompressed) bytes read from the file. If - * an error occurs, FALSE is returned and unless the function was - * called as @readgzfile, an error message is - * printed. + * @return int the number of (uncompressed) bytes read from the file, or FALSE on error */ function readgzfile ($filename, $use_include_path = 0) {}