@@ -90,14 +90,14 @@ |
||
| 90 | 90 | /** |
| 91 | 91 | * @return void |
| 92 | 92 | */ |
| 93 | - public function writeln(string|iterable $messages, int $options = self::OUTPUT_NORMAL) |
|
| 93 | + public function writeln(string | iterable $messages, int $options = self::OUTPUT_NORMAL) |
|
| 94 | 94 | { |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | 98 | * @return void |
| 99 | 99 | */ |
| 100 | - public function write(string|iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL) |
|
| 100 | + public function write(string | iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL) |
|
| 101 | 101 | { |
| 102 | 102 | } |
| 103 | 103 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * |
| 65 | 65 | * @return $this |
| 66 | 66 | */ |
| 67 | - public function setStyle(TableStyle|string $name): static |
|
| 67 | + public function setStyle(TableStyle | string $name): static |
|
| 68 | 68 | { |
| 69 | 69 | } |
| 70 | 70 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * |
| 83 | 83 | * @return $this |
| 84 | 84 | */ |
| 85 | - public function setColumnStyle(int $columnIndex, TableStyle|string $name): static |
|
| 85 | + public function setColumnStyle(int $columnIndex, TableStyle | string $name): static |
|
| 86 | 86 | { |
| 87 | 87 | } |
| 88 | 88 | |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | /** |
| 150 | 150 | * @return $this |
| 151 | 151 | */ |
| 152 | - public function addRow(TableSeparator|array $row): static |
|
| 152 | + public function addRow(TableSeparator | array $row): static |
|
| 153 | 153 | { |
| 154 | 154 | } |
| 155 | 155 | |
@@ -158,14 +158,14 @@ discard block |
||
| 158 | 158 | * |
| 159 | 159 | * @return $this |
| 160 | 160 | */ |
| 161 | - public function appendRow(TableSeparator|array $row): static |
|
| 161 | + public function appendRow(TableSeparator | array $row): static |
|
| 162 | 162 | { |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | 166 | * @return $this |
| 167 | 167 | */ |
| 168 | - public function setRow(int|string $column, array $row): static |
|
| 168 | + public function setRow(int | string $column, array $row): static |
|
| 169 | 169 | { |
| 170 | 170 | } |
| 171 | 171 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * |
| 39 | 39 | * @throws InvalidArgumentException When argument mode is not valid |
| 40 | 40 | */ |
| 41 | - public function __construct(string $name, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, \Closure|array $suggestedValues = []) |
|
| 41 | + public function __construct(string $name, ?int $mode = null, string $description = '', string | bool | int | float | array | null $default = null, \Closure | array $suggestedValues = []) |
|
| 42 | 42 | { |
| 43 | 43 | } |
| 44 | 44 | |
@@ -74,14 +74,14 @@ discard block |
||
| 74 | 74 | * |
| 75 | 75 | * @throws LogicException When incorrect default value is given |
| 76 | 76 | */ |
| 77 | - public function setDefault(string|bool|int|float|array|null $default = null) |
|
| 77 | + public function setDefault(string | bool | int | float | array | null $default = null) |
|
| 78 | 78 | { |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * Returns the default value. |
| 83 | 83 | */ |
| 84 | - public function getDefault(): string|bool|int|float|array|null |
|
| 84 | + public function getDefault(): string | bool | int | float | array | null |
|
| 85 | 85 | { |
| 86 | 86 | } |
| 87 | 87 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * @param string|array $values The values to look for in the raw parameters (can be an array) |
| 43 | 43 | * @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal |
| 44 | 44 | */ |
| 45 | - public function hasParameterOption(string|array $values, bool $onlyParams = false): bool |
|
| 45 | + public function hasParameterOption(string | array $values, bool $onlyParams = false): bool |
|
| 46 | 46 | { |
| 47 | 47 | } |
| 48 | 48 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * @return mixed |
| 62 | 62 | */ |
| 63 | - public function getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false) |
|
| 63 | + public function getParameterOption(string | array $values, string | bool | int | float | array | null $default = false, bool $onlyParams = false) |
|
| 64 | 64 | { |
| 65 | 65 | } |
| 66 | 66 | |
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | { |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | - public function countUsersTotal(int $limit = 0, bool $onlyMappedUsers = false): int|false |
|
| 230 | + public function countUsersTotal(int $limit = 0, bool $onlyMappedUsers = false): int | false |
|
| 231 | 231 | { |
| 232 | 232 | } |
| 233 | 233 | |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | /** |
| 61 | 61 | * @return string |
| 62 | 62 | */ |
| 63 | - public static function formatTime(int|float $secs, int $precision = 1) |
|
| 63 | + public static function formatTime(int | float $secs, int $precision = 1) |
|
| 64 | 64 | { |
| 65 | 65 | } |
| 66 | 66 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | { |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - public function getShare(int $id, ?string $user = null): array|false |
|
| 64 | + public function getShare(int $id, ?string $user = null): array | false |
|
| 65 | 65 | { |
| 66 | 66 | } |
| 67 | 67 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * @param string $token |
| 72 | 72 | * @return array|false |
| 73 | 73 | */ |
| 74 | - public function getShareByToken(string $token): array|false |
|
| 74 | + public function getShareByToken(string $token): array | false |
|
| 75 | 75 | { |
| 76 | 76 | } |
| 77 | 77 | |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | * |
| 239 | 239 | * @return $this |
| 240 | 240 | */ |
| 241 | - public function setDefinition(array|InputDefinition $definition): static |
|
| 241 | + public function setDefinition(array | InputDefinition $definition): static |
|
| 242 | 242 | { |
| 243 | 243 | } |
| 244 | 244 | |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | * |
| 289 | 289 | * @throws InvalidArgumentException If option mode is invalid or incompatible |
| 290 | 290 | */ |
| 291 | - public function addOption(string $name, string|array|null $shortcut = null, ?int $mode = null, string $description = '', mixed $default = null): static |
|
| 291 | + public function addOption(string $name, string | array | null $shortcut = null, ?int $mode = null, string $description = '', mixed $default = null): static |
|
| 292 | 292 | { |
| 293 | 293 | } |
| 294 | 294 | |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * @param string $search |
| 99 | 99 | * @return int|bool |
| 100 | 100 | */ |
| 101 | - public function count($search = ''): int|bool |
|
| 101 | + public function count($search = ''): int | bool |
|
| 102 | 102 | { |
| 103 | 103 | } |
| 104 | 104 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | * |
| 108 | 108 | * @return int|bool |
| 109 | 109 | */ |
| 110 | - public function countDisabled(): int|bool |
|
| 110 | + public function countDisabled(): int | bool |
|
| 111 | 111 | { |
| 112 | 112 | } |
| 113 | 113 | |