diff options
| author | lsces <lester@lsces.co.uk> | 2026-02-02 09:08:40 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-02-02 09:55:15 +0000 |
| commit | 1ef13d9936bcb78d499cb3dceafa724bcc410ba6 (patch) | |
| tree | e55efde62a7c105e0565f665e3fc9acac7df38e6 | |
| parent | 6c36294561d35ae2510721f37ee57ededcdf93ea (diff) | |
| download | kernel-1ef13d9936bcb78d499cb3dceafa724bcc410ba6.tar.gz kernel-1ef13d9936bcb78d499cb3dceafa724bcc410ba6.tar.bz2 kernel-1ef13d9936bcb78d499cb3dceafa724bcc410ba6.zip | |
Modernize code style.
| -rwxr-xr-x | includes/classes/BitBase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/classes/BitBase.php b/includes/classes/BitBase.php index 6790559..b5ea891 100755 --- a/includes/classes/BitBase.php +++ b/includes/classes/BitBase.php @@ -403,7 +403,7 @@ abstract class BitBase { * @param string $pDefault Default value to return if not found. null if nothing is passed in. * @return array|string|null */ - public static function getParameter( array &$pParamHash, string $pKey, ?string $pDefaultValue = null ): array|string|null { + public static function getParameter( array $pParamHash, string $pKey, ?string $pDefaultValue = null ): array|string|null { return $pParamHash[$pKey] ?? $pDefaultValue; } @@ -503,7 +503,7 @@ abstract class BitBase { if( !isset( $pListHash['offset'] ) || !is_numeric( $pListHash['offset'] ) ) { $pListHash['offset'] = 0; - if( static::verifyId( $pListHash['page'] )) { + if( static::verifyId( $pListHash['page'] ) ) { $pListHash['offset'] = ($pListHash['page'] - 1) * $pListHash['max_records']; } else { if( !empty( $_REQUEST["offset"] )) { |
