summaryrefslogtreecommitdiff
path: root/includes/db/IORMRow.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/db/IORMRow.php')
-rw-r--r--includes/db/IORMRow.php32
1 files changed, 15 insertions, 17 deletions
diff --git a/includes/db/IORMRow.php b/includes/db/IORMRow.php
index 39411791..c66cddfd 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();
-
}