X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Flibs%2FGenericArrayObject.php;h=2e0a2afe8c9880a25e65575b8ae6c9dfe7fce275;hb=7f7efbe026b01be36019c26571224a6e8a178677;hp=f76d9a2e8d2c5b57a1603507f2e5d935e4322b91;hpb=43a548a5c3436b5d07091b504bbf5eb80d1ed215;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/GenericArrayObject.php b/includes/libs/GenericArrayObject.php index f76d9a2e8d..2e0a2afe8c 100644 --- a/includes/libs/GenericArrayObject.php +++ b/includes/libs/GenericArrayObject.php @@ -29,7 +29,7 @@ * * @file * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ abstract class GenericArrayObject extends ArrayObject { @@ -45,7 +45,7 @@ abstract class GenericArrayObject extends ArrayObject { /** * @see SiteList::getNewOffset() * @since 1.20 - * @var integer + * @var int */ protected $indexOffset = 0; @@ -56,7 +56,7 @@ abstract class GenericArrayObject extends ArrayObject { * * @since 1.20 * - * @return integer + * @return int */ protected function getNewOffset() { while ( $this->offsetExists( $this->indexOffset ) ) { @@ -167,7 +167,7 @@ abstract class GenericArrayObject extends ArrayObject { * * @since 1.20 * - * @param integer|string $index + * @param int|string $index * @param mixed $value * * @return bool @@ -211,6 +211,7 @@ abstract class GenericArrayObject extends ArrayObject { * @param string $serialization * * @return array + * @suppress PhanParamSignatureMismatchInternal The stub appears to be wrong */ public function unserialize( $serialization ) { $serializationData = unserialize( $serialization );