@@ -2029,26 +2029,26 @@ |
||
2029 | 2029 | } |
2030 | 2030 | } |
2031 | 2031 | |
2032 | - private static function getArrayItem(null|array|bool|SimpleXMLElement $array, int|string $key = 0): mixed |
|
2032 | + private static function getArrayItem(null | array | bool | SimpleXMLElement $array, int | string $key = 0): mixed |
|
2033 | 2033 | { |
2034 | 2034 | return ($array === null || is_bool($array)) ? null : ($array[$key] ?? null); |
2035 | 2035 | } |
2036 | 2036 | |
2037 | - private static function getArrayItemString(null|array|bool|SimpleXMLElement $array, int|string $key = 0): string |
|
2037 | + private static function getArrayItemString(null | array | bool | SimpleXMLElement $array, int | string $key = 0): string |
|
2038 | 2038 | { |
2039 | 2039 | $retVal = self::getArrayItem($array, $key); |
2040 | 2040 | |
2041 | 2041 | return StringHelper::convertToString($retVal, false); |
2042 | 2042 | } |
2043 | 2043 | |
2044 | - private static function getArrayItemIntOrSxml(null|array|bool|SimpleXMLElement $array, int|string $key = 0): int|SimpleXMLElement |
|
2044 | + private static function getArrayItemIntOrSxml(null | array | bool | SimpleXMLElement $array, int | string $key = 0): int | SimpleXMLElement |
|
2045 | 2045 | { |
2046 | 2046 | $retVal = self::getArrayItem($array, $key); |
2047 | 2047 | |
2048 | 2048 | return (is_int($retVal) || $retVal instanceof SimpleXMLElement) ? $retVal : 0; |
2049 | 2049 | } |
2050 | 2050 | |
2051 | - private static function dirAdd(null|SimpleXMLElement|string $base, null|SimpleXMLElement|string $add): string |
|
2051 | + private static function dirAdd(null | SimpleXMLElement | string $base, null | SimpleXMLElement | string $add): string |
|
2052 | 2052 | { |
2053 | 2053 | $base = (string) $base; |
2054 | 2054 | $add = (string) $add; |