Skip to content

Commit

Permalink
Merge pull request #8967 from paulbalandan/cs
Browse files Browse the repository at this point in the history
style: fix cs
  • Loading branch information
kenjis authored Jun 17, 2024
2 parents 6c7144b + a12d45c commit 5bac584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/CLI/GeneratorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ protected function setEnabledSuffixing(bool $enabledSuffixing)
* Gets a single command-line option. Returns TRUE if the option exists,
* but doesn't have a value, and is simply acting as a flag.
*/
protected function getOption(string $name): string|bool|null
protected function getOption(string $name): bool|string|null
{
if (! array_key_exists($name, $this->params)) {
return CLI::getOption($name);
Expand Down
2 changes: 1 addition & 1 deletion system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public function run(?RouteCollectionInterface $routes = null, bool $returnRespon
} else {
try {
$this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse);
} catch (ResponsableInterface|DeprecatedRedirectException $e) {
} catch (DeprecatedRedirectException|ResponsableInterface $e) {
$this->outputBufferingEnd();
if ($e instanceof DeprecatedRedirectException) {
$e = new RedirectException($e->getMessage(), $e->getCode(), $e);
Expand Down

0 comments on commit 5bac584

Please sign in to comment.