From e62ea0136cd619e4815b521e94fc655a68a496a2 Mon Sep 17 00:00:00 2001 From: Skiptir Engu Date: Mon, 10 Apr 2017 18:43:38 -0300 Subject: [PATCH] Fixed phpdoc broken links to PHP manual pages [skip ci] --- framework/caching/MemCacheServer.php | 2 +- framework/db/Command.php | 2 +- framework/db/Connection.php | 8 ++++---- framework/helpers/BaseArrayHelper.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/framework/caching/MemCacheServer.php b/framework/caching/MemCacheServer.php index 131ce22f92..3e6753d391 100644 --- a/framework/caching/MemCacheServer.php +++ b/framework/caching/MemCacheServer.php @@ -10,7 +10,7 @@ namespace yii\caching; /** * MemCacheServer represents the configuration data for a single memcache or memcached server. * - * See [PHP manual](http://www.php.net/manual/en/function.Memcache-addServer.php) for detailed explanation + * See [PHP manual](http://php.net/manual/en/memcache.addserver.php) for detailed explanation * of each configuration property. * * For more details and usage information on Cache, see the [guide article on caching](guide:caching-overview). diff --git a/framework/db/Command.php b/framework/db/Command.php index 86538b47f0..3713bf5b36 100644 --- a/framework/db/Command.php +++ b/framework/db/Command.php @@ -365,7 +365,7 @@ class Command extends Component /** * Executes the SQL statement and returns the first row of the result. * This method is best used when only the first row of result is needed for a query. - * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) + * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](http://php.net/manual/en/pdostatement.setfetchmode.php) * for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used. * @return array|false the first row (in terms of an array) of the query result. False is returned if the query * results in nothing. diff --git a/framework/db/Connection.php b/framework/db/Connection.php index 877049cbe1..c39e82f28c 100644 --- a/framework/db/Connection.php +++ b/framework/db/Connection.php @@ -153,7 +153,7 @@ class Connection extends Component /** * @var string the Data Source Name, or DSN, contains the information required to connect to the database. - * Please refer to the [PHP manual](http://www.php.net/manual/en/function.PDO-construct.php) on + * Please refer to the [PHP manual](http://php.net/manual/en/pdo.construct.php) on * the format of the DSN string. * * For [SQLite](http://php.net/manual/en/ref.pdo-sqlite.connection.php) you may use a path alias @@ -173,7 +173,7 @@ class Connection extends Component /** * @var array PDO attributes (name => value) that should be set when calling [[open()]] * to establish a DB connection. Please refer to the - * [PHP manual](http://www.php.net/manual/en/function.PDO-setAttribute.php) for + * [PHP manual](http://php.net/manual/en/pdo.setattribute.php) for * details about available attributes. */ public $attributes; @@ -789,7 +789,7 @@ class Connection extends Component * Returns the ID of the last inserted row or sequence value. * @param string $sequenceName name of the sequence object (required by some DBMS) * @return string the row ID of the last row inserted, or the last value retrieved from the sequence object - * @see http://www.php.net/manual/en/function.PDO-lastInsertId.php + * @see http://php.net/manual/en/pdo.lastinsertid.php */ public function getLastInsertID($sequenceName = '') { @@ -801,7 +801,7 @@ class Connection extends Component * Note that if the parameter is not a string, it will be returned without change. * @param string $value string to be quoted * @return string the properly quoted string - * @see http://www.php.net/manual/en/function.PDO-quote.php + * @see http://php.net/manual/en/pdo.quote.php */ public function quoteValue($value) { diff --git a/framework/helpers/BaseArrayHelper.php b/framework/helpers/BaseArrayHelper.php index a395f6fb16..6b5186b89b 100644 --- a/framework/helpers/BaseArrayHelper.php +++ b/framework/helpers/BaseArrayHelper.php @@ -761,7 +761,7 @@ class BaseArrayHelper * but additionally works on objects that implement the [[\Traversable]] interface. * @param mixed $var The variable being evaluated. * @return bool whether $var is array-like - * @see http://php.net/manual/en/function.is_array.php + * @see http://php.net/manual/en/function.is-array.php * @since 2.0.8 */ public static function isTraversable($var)