mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
[doc] Update PHP doc links (#18957)
* Replace https://secure.php.net with https://www.php.net * Replace http://www.php.net with https://www.php.net
This commit is contained in:
@ -19,7 +19,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
|
||||
/**
|
||||
* Whether a offset exists
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
|
||||
* @link https://www.php.net/manual/en/arrayaccess.offsetexists.php
|
||||
* @param mixed $offset <p>
|
||||
* An offset to check for.
|
||||
* </p>
|
||||
@ -37,7 +37,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
|
||||
/**
|
||||
* Offset to retrieve
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
|
||||
* @link https://www.php.net/manual/en/arrayaccess.offsetget.php
|
||||
* @param mixed $offset <p>
|
||||
* The offset to retrieve.
|
||||
* </p>
|
||||
@ -52,7 +52,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
|
||||
/**
|
||||
* Offset to set
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
|
||||
* @link https://www.php.net/manual/en/arrayaccess.offsetset.php
|
||||
* @param mixed $offset <p>
|
||||
* The offset to assign the value to.
|
||||
* </p>
|
||||
@ -70,7 +70,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
|
||||
/**
|
||||
* Offset to unset
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
|
||||
* @link https://www.php.net/manual/en/arrayaccess.offsetunset.php
|
||||
* @param mixed $offset <p>
|
||||
* The offset to unset.
|
||||
* </p>
|
||||
|
||||
@ -18,7 +18,7 @@ class CustomDebugInfo
|
||||
public $unitPrice;
|
||||
|
||||
/**
|
||||
* @see https://secure.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
|
||||
* @see https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@ -104,7 +104,7 @@ class StringHelperTest extends TestCase
|
||||
$this->assertEquals('file', StringHelper::basename('/path/to/filete\st', 'te\st'));
|
||||
$this->assertEquals('st', StringHelper::basename('/path/to/filete\st', 'te/st'));
|
||||
|
||||
// https://secure.php.net/manual/en/function.basename.php#72254
|
||||
// https://www.php.net/manual/en/function.basename.php#72254
|
||||
$this->assertEquals('foo', StringHelper::basename('/bar/foo/'));
|
||||
$this->assertEquals('foo', StringHelper::basename('\\bar\\foo\\'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user