Skip to content

Commit aa2ca35

Browse files
authored
Merge pull request #7870 from kenjis/docs-replace-mixed-in-db-utils
docs: replace type mixed in DB Utils
2 parents ec8ba91 + 036a0a8 commit aa2ca35

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

system/Database/BaseUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function getXMLFromResult(ResultInterface $query, array $params = []): st
260260
*
261261
* @param array|string $params
262262
*
263-
* @return mixed
263+
* @return false|never|string
264264
*
265265
* @throws DatabaseException
266266
*/
@@ -316,7 +316,7 @@ public function backup($params = [])
316316
/**
317317
* Platform dependent version of the backup function.
318318
*
319-
* @return mixed
319+
* @return false|never|string
320320
*/
321321
abstract public function _backup(?array $prefs = null);
322322
}

system/Database/MySQLi/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Utils extends BaseUtils
3636
/**
3737
* Platform dependent version of the backup function.
3838
*
39-
* @return mixed
39+
* @return never
4040
*/
4141
public function _backup(?array $prefs = null)
4242
{

system/Database/OCI8/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Utils extends BaseUtils
2929
/**
3030
* Platform dependent version of the backup function.
3131
*
32-
* @return mixed
32+
* @return never
3333
*/
3434
public function _backup(?array $prefs = null)
3535
{

system/Database/Postgre/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Utils extends BaseUtils
3636
/**
3737
* Platform dependent version of the backup function.
3838
*
39-
* @return mixed
39+
* @return never
4040
*/
4141
public function _backup(?array $prefs = null)
4242
{

system/Database/SQLSRV/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(ConnectionInterface $db)
4444
/**
4545
* Platform dependent version of the backup function.
4646
*
47-
* @return mixed
47+
* @return never
4848
*/
4949
public function _backup(?array $prefs = null)
5050
{

system/Database/SQLite3/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Utils extends BaseUtils
2929
/**
3030
* Platform dependent version of the backup function.
3131
*
32-
* @return mixed
32+
* @return never
3333
*/
3434
public function _backup(?array $prefs = null)
3535
{

0 commit comments

Comments
 (0)