Skip to content

Commit

Permalink
Fixed phpdoc broken links to PHP manual pages [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
skiptirengu authored and samdark committed Apr 10, 2017
1 parent 3a6a590 commit e62ea01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion framework/caching/MemCacheServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* 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).
Expand Down
2 changes: 1 addition & 1 deletion framework/db/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function queryAll($fetchMode = null)
/**
* 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.
Expand Down
8 changes: 4 additions & 4 deletions framework/db/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down Expand Up @@ -789,7 +789,7 @@ public function getTableSchema($name, $refresh = false)
* 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 = '')
{
Expand All @@ -801,7 +801,7 @@ public function getLastInsertID($sequenceName = '')
* 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)
{
Expand Down
2 changes: 1 addition & 1 deletion framework/helpers/BaseArrayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public static function isIn($needle, $haystack, $strict = false)
* 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)
Expand Down

0 comments on commit e62ea01

Please sign in to comment.