Skip to content

Commit

Permalink
refactor: run cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 10, 2024
1 parent 910edf5 commit a05f603
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ public function run(?RouteCollectionInterface $routes = null, bool $returnRespon
}

$this->sendResponse();

return null;
}

Expand Down Expand Up @@ -890,6 +891,7 @@ protected function startController()
) {
throw PageNotFoundException::forControllerNotFound($this->controller, $this->method);
}

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Commands/Database/MigrateRollback.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public function run(array $params)
$this->showError($e);
// @codeCoverageIgnoreEnd
}

return null;
}
}
1 change: 1 addition & 0 deletions system/Database/BaseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3043,6 +3043,7 @@ protected function trackAliases($table)
// Store the alias, if it doesn't already exist
$this->db->addTableAlias($table);
}

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Filters/CSRF.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function before(RequestInterface $request, $arguments = null)

throw $e;
}

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Filters/ForceHTTPS.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function before(RequestInterface $request, $arguments = null)
} catch (RedirectException $e) {
return $e->getResponse();
}

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Filters/PageCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function before(RequestInterface $request, $arguments = null)
if ($cachedResponse instanceof ResponseInterface) {
return $cachedResponse;
}

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Images/Handlers/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ public function __call(string $name, array $args = [])
if (method_exists($this->image(), $name)) {
return $this->image()->{$name}(...$args);
}

return null;
}

Expand Down
3 changes: 2 additions & 1 deletion system/Language/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected function formatMessage($message, array $args = [])
* will return the file's contents, otherwise will merge with
* the existing language lines.
*
* @return mixed[]|null
* @return list<mixed>|null
*/
protected function load(string $file, string $locale, bool $return = false)
{
Expand Down Expand Up @@ -265,6 +265,7 @@ protected function load(string $file, string $locale, bool $return = false)

// Merge our string
$this->language[$locale][$file] = $lang;

return null;
}

Expand Down
1 change: 1 addition & 0 deletions system/Test/CIUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ public function assertCloseEnoughString($expected, $actual, string $message = ''
} catch (Exception) {
return false;
}

return null;
}

Expand Down

0 comments on commit a05f603

Please sign in to comment.