diff --git a/libraries/classes/Bookmark.php b/libraries/classes/Bookmark.php index 88c199d029..df2b86ffbc 100644 --- a/libraries/classes/Bookmark.php +++ b/libraries/classes/Bookmark.php @@ -116,8 +116,6 @@ class Bookmark /** * Adds a bookmark - * - * @access public */ public function save(): bool { @@ -139,8 +137,6 @@ class Bookmark /** * Deletes a bookmark - * - * @access public */ public function delete(): bool { @@ -206,8 +202,6 @@ class Bookmark * @param string $user Current user * * @return array|false the bookmark parameters for the current user - * - * @access public */ public static function getParams(string $user) { @@ -300,8 +294,6 @@ class Bookmark * @param string|false $db the current database name or false * * @return Bookmark[] the bookmarks list - * - * @access public */ public static function getList( DatabaseInterface $dbi, @@ -356,8 +348,6 @@ class Bookmark * @param bool $exact_user_match whether to ignore bookmarks with no user * * @return Bookmark|null the bookmark - * - * @access public */ public static function get( DatabaseInterface $dbi, diff --git a/libraries/classes/ConfigStorage/Relation.php b/libraries/classes/ConfigStorage/Relation.php index 3d7282b420..e173e4172a 100644 --- a/libraries/classes/ConfigStorage/Relation.php +++ b/libraries/classes/ConfigStorage/Relation.php @@ -70,8 +70,6 @@ class Relation * @param int $options query options * * @return mixed|bool the result set, or false if no result set - * - * @access public */ public function queryAsControlUser($sql, $show_error = true, $options = 0) { @@ -381,8 +379,6 @@ class Relation /** * Check whether column_info table input transformation * upgrade is required and try to upgrade silently - * - * @access public */ public function tryUpgradeTransformations(): bool { @@ -454,8 +450,6 @@ class Relation * @param string $source the source for foreign key information * * @return array db,table,column - * - * @access public */ public function getForeigners($db, $table, $column = '', $source = 'both') { @@ -527,8 +521,6 @@ class Relation * @param string $table the name of the table to check for * * @return string|false field name or false - * - * @access public */ public function getDisplayField($db, $table) { @@ -587,8 +579,6 @@ class Relation * @param string $table the name of the table to check for * * @return array [column_name] = comment - * - * @access public */ public function getComments($db, $table = ''): array { @@ -615,8 +605,6 @@ class Relation * Gets the comment for a db * * @param string $db the name of the db to check for - * - * @access public */ public function getDbComment(string $db): string { @@ -646,8 +634,6 @@ class Relation * Gets the comment for a db * * @return array comments - * - * @access public */ public function getDbComments() { @@ -679,8 +665,6 @@ class Relation * * @param string $db the name of the db * @param string $comment the value of the column - * - * @access public */ public function setDbComment($db, $comment = ''): bool { @@ -722,8 +706,6 @@ class Relation * @param string $table the name of the table * @param string $username the username * @param string $sqlquery the sql query - * - * @access public */ public function setHistory($db, $table, $username, $sqlquery): void { @@ -780,8 +762,6 @@ class Relation * @param string $username the username * * @return array|bool list of history items - * - * @access public */ public function getHistory($username) { @@ -823,8 +803,6 @@ class Relation * given user * * @param string $username the username - * - * @access public */ public function purgeHistory($username): void { @@ -865,8 +843,6 @@ class Relation * @param string $mode the needed mode * * @return string[] the