Skip to content

Commit

Permalink
docs: replace type mixed in DB Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 4, 2023
1 parent 5d40f69 commit 036a0a8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions system/Database/BaseUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function getXMLFromResult(ResultInterface $query, array $params = []): st
*
* @param array|string $params
*
* @return mixed
* @return false|never|string
*
* @throws DatabaseException
*/
Expand Down Expand Up @@ -316,7 +316,7 @@ public function backup($params = [])
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return false|never|string
*/
abstract public function _backup(?array $prefs = null);
}
2 changes: 1 addition & 1 deletion system/Database/MySQLi/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Utils extends BaseUtils
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return never
*/
public function _backup(?array $prefs = null)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Database/OCI8/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Utils extends BaseUtils
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return never
*/
public function _backup(?array $prefs = null)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Database/Postgre/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Utils extends BaseUtils
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return never
*/
public function _backup(?array $prefs = null)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Database/SQLSRV/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(ConnectionInterface $db)
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return never
*/
public function _backup(?array $prefs = null)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Database/SQLite3/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Utils extends BaseUtils
/**
* Platform dependent version of the backup function.
*
* @return mixed
* @return never
*/
public function _backup(?array $prefs = null)
{
Expand Down

0 comments on commit 036a0a8

Please sign in to comment.