Fix CS/phpstan error

This commit is contained in:
Aleksander Machniak
2024-02-10 20:51:38 +01:00
parent a1f39f47b7
commit 1c706cc987
3 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ parameters:
ignoreErrors:
- '~class (GSSAPIContext|KRB5CCache)~'
- '~Function pam_chpass invoked with 3 parameters, 4-5 required~'
scanFiles:
- vendor/pear/pear-core-minimal/src/PEAR.php

View File

@@ -460,7 +460,7 @@ class rcube_imap extends rcube_storage
*
* @param string $name Namespace array index: personal, other, shared, prefix
*
* @return null|string|array Namespace data
* @return string|array|null Namespace data
*/
public function get_namespace($name = null)
{

View File

@@ -335,7 +335,7 @@ abstract class rcube_storage
*
* @param string $name Namespace array index: personal, other, shared, prefix
*
* @return null|string|array Namespace data
* @return string|array|null Namespace data
*/
abstract public function get_namespace($name = null);