Skip to content

Commit 5bac584

Browse files
authored
Merge pull request #8967 from paulbalandan/cs
style: fix cs
2 parents 6c7144b + a12d45c commit 5bac584

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/CLI/GeneratorTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ protected function setEnabledSuffixing(bool $enabledSuffixing)
516516
* Gets a single command-line option. Returns TRUE if the option exists,
517517
* but doesn't have a value, and is simply acting as a flag.
518518
*/
519-
protected function getOption(string $name): string|bool|null
519+
protected function getOption(string $name): bool|string|null
520520
{
521521
if (! array_key_exists($name, $this->params)) {
522522
return CLI::getOption($name);

system/CodeIgniter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public function run(?RouteCollectionInterface $routes = null, bool $returnRespon
353353
} else {
354354
try {
355355
$this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse);
356-
} catch (ResponsableInterface|DeprecatedRedirectException $e) {
356+
} catch (DeprecatedRedirectException|ResponsableInterface $e) {
357357
$this->outputBufferingEnd();
358358
if ($e instanceof DeprecatedRedirectException) {
359359
$e = new RedirectException($e->getMessage(), $e->getCode(), $e);

0 commit comments

Comments
 (0)