X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FIORMRow.php;h=c66cddfd5dd9f96a310874ba2db323a21d0cbb77;hb=166191535f486569277e95b7e6a3850b5db6757d;hp=39411791d9a432ea94fc37594c23f05cff5e4893;hpb=75da5baa3f353a326edaf9ee4e0bbaed097f725a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/IORMRow.php b/includes/db/IORMRow.php index 39411791d9..c66cddfd5d 100644 --- a/includes/db/IORMRow.php +++ b/includes/db/IORMRow.php @@ -32,7 +32,6 @@ */ interface IORMRow { - /** * Load the specified fields from the database. * @@ -40,8 +39,8 @@ interface IORMRow { * @deprecated since 1.22 * * @param array|null $fields - * @param boolean $override - * @param boolean $skipLoaded + * @param bool $override + * @param bool $skipLoaded * * @return bool Success indicator */ @@ -86,7 +85,7 @@ interface IORMRow { * * @since 1.20 * - * @return integer|null + * @return int|null */ public function getId(); @@ -95,7 +94,7 @@ interface IORMRow { * * @since 1.20 * - * @param integer|null $id + * @param int|null $id */ public function setId( $id ); @@ -106,7 +105,7 @@ interface IORMRow { * * @param string $name * - * @return boolean + * @return bool */ public function hasField( $name ); @@ -115,7 +114,7 @@ interface IORMRow { * * @since 1.20 * - * @return boolean + * @return bool */ public function hasIdField(); @@ -125,7 +124,7 @@ interface IORMRow { * @since 1.20 * * @param array $fields The fields to set - * @param boolean $override Override already set fields with the provided values? + * @param bool $override Override already set fields with the provided values? */ public function setFields( array $fields, $override = true ); @@ -136,7 +135,7 @@ interface IORMRow { * @since 1.20 * * @param null|array $fields - * @param boolean $incNullId + * @param bool $incNullId * * @return array */ @@ -148,7 +147,7 @@ interface IORMRow { * @since 1.20 * @deprecated since 1.22 * - * @param boolean $override + * @param bool $override */ public function loadDefaults( $override = true ); @@ -161,7 +160,7 @@ interface IORMRow { * @param string|null $functionName * @deprecated since 1.22 * - * @return boolean Success indicator + * @return bool Success indicator */ public function save( $functionName = null ); @@ -171,7 +170,7 @@ interface IORMRow { * @since 1.20 * @deprecated since 1.22 * - * @return boolean Success indicator + * @return bool Success indicator */ public function remove(); @@ -214,9 +213,9 @@ interface IORMRow { * @deprecated since 1.22 * * @param string $field - * @param integer $amount + * @param int $amount * - * @return boolean Success indicator + * @return bool Success indicator */ public function addToField( $field, $amount ); @@ -245,7 +244,7 @@ interface IORMRow { * @since 1.20 * @deprecated since 1.22 * - * @param boolean $update + * @param bool $update */ public function setUpdateSummaries( $update ); @@ -255,7 +254,7 @@ interface IORMRow { * @since 1.20 * @deprecated since 1.22 * - * @param boolean $summaryMode + * @param bool $summaryMode */ public function setSummaryMode( $summaryMode ); @@ -268,5 +267,4 @@ interface IORMRow { * @return IORMTable */ public function getTable(); - }