@@ -52,7 +52,7 @@ |
||
| 52 | 52 | { |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function for(string $appId): IRegistrationContext |
|
| 55 | + public function for (string $appId): IRegistrationContext |
|
| 56 | 56 | { |
| 57 | 57 | } |
| 58 | 58 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @throws InvalidArgumentException If option mode is invalid or incompatible |
| 60 | 60 | */ |
| 61 | - public function __construct(string $name, string|array|null $shortcut = null, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, array|\Closure $suggestedValues = []) |
|
| 61 | + public function __construct(string $name, string | array | null $shortcut = null, ?int $mode = null, string $description = '', string | bool | int | float | array | null $default = null, array | \Closure $suggestedValues = []) |
|
| 62 | 62 | { |
| 63 | 63 | } |
| 64 | 64 | |
@@ -119,14 +119,14 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * @return void |
| 121 | 121 | */ |
| 122 | - public function setDefault(string|bool|int|float|array|null $default = null) |
|
| 122 | + public function setDefault(string | bool | int | float | array | null $default = null) |
|
| 123 | 123 | { |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
| 127 | 127 | * Returns the default value. |
| 128 | 128 | */ |
| 129 | - public function getDefault(): string|bool|int|float|array|null |
|
| 129 | + public function getDefault(): string | bool | int | float | array | null |
|
| 130 | 130 | { |
| 131 | 131 | } |
| 132 | 132 | |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return void |
| 57 | 57 | */ |
| 58 | - public function overwrite(string|iterable $message) |
|
| 58 | + public function overwrite(string | iterable $message) |
|
| 59 | 59 | { |
| 60 | 60 | } |
| 61 | 61 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @param string $question The question to ask to the user |
| 26 | 26 | * @param string|bool|int|float|null $default The default answer to return if the user enters nothing |
| 27 | 27 | */ |
| 28 | - public function __construct(string $question, string|bool|int|float|null $default = null) |
|
| 28 | + public function __construct(string $question, string | bool | int | float | null $default = null) |
|
| 29 | 29 | { |
| 30 | 30 | } |
| 31 | 31 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * Returns the default answer. |
| 41 | 41 | */ |
| 42 | - public function getDefault(): string|bool|int|float|null |
|
| 42 | + public function getDefault(): string | bool | int | float | null |
|
| 43 | 43 | { |
| 44 | 44 | } |
| 45 | 45 | |
@@ -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 | |