| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @see ini_get() |
| 49 | 49 | */ |
| 50 | - public function iniGet(string $variableName): int|string|false | |
| 50 | + public function iniGet(string $variableName): int|string | |
| 51 | 51 | { |
| 52 | 52 | return ini_get($variableName); |
| 53 | 53 | } |
| 54 | 54 | |
| @@ -62,9 +62,9 @@ | ||
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * @see fread() |
| 65 | 65 | */ |
| 66 | - public function fread($handle, int $length): false|string | |
| 66 | + public function fread($handle, int $length): bool|string | |
| 67 | 67 | { |
| 68 | 68 | return fread($handle, $length); |
| 69 | 69 | } |
| 70 | 70 | |
| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * @see file_put_contents() |
| 94 | 94 | */ |
| 95 | - public function filePutContents(string $filename, mixed $data, int $flags = 0, $context = null): false|int | |
| 95 | + public function filePutContents(string $filename, mixed $data, int $flags = 0, $context = null): bool|int | |
| 96 | 96 | { |
| 97 | 97 | return file_put_contents($filename, $data, $flags, $context); |
| 98 | 98 | } |
| 99 | 99 | |
| @@ -99,9 +99,9 @@ | ||
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | 101 | * @see igbinary_serialize() |
| 102 | 102 | */ |
| 103 | - public function igbinarySerialize(mixed $value): ?string | |
| 103 | + public function igbinarySerialize(mixed $value): string | |
| 104 | 104 | { |
| 105 | 105 | return igbinary_serialize($value); |
| 106 | 106 | } |
| 107 | 107 | |
| @@ -117,11 +117,10 @@ | ||
| 117 | 117 | * @see mkdir() |
| 118 | 118 | */ |
| 119 | 119 | public function mkdir(string $pathname, int $mode = 0777, bool $recursive = false, $context = null): bool |
| 120 | 120 | { |
| 121 | - return ($context !== null) | |
| 122 | - ? mkdir($pathname, $mode, $recursive, $context) | |
| 123 | - : mkdir($pathname, $mode, $recursive); | |
| 121 | + return ($context !== null) ? | |
| 122 | + mkdir($pathname, $mode, $recursive, $context) : mkdir($pathname, $mode, $recursive); | |
| 124 | 123 | } |
| 125 | 124 | |
| 126 | 125 | /** |
| 127 | 126 | * @see connection_status() |