Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: replace mixed type at CLI class. #7435

Merged
merged 2 commits into from
Apr 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions system/CLI/BaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ abstract public function run(array $params);
/**
* Can be used by a command to run other commands.
*
* @return mixed
* @return int|void
*
* @throws ReflectionException
*/
Expand Down Expand Up @@ -205,7 +205,7 @@ public function getPad(array $array, int $pad): int
/**
* Makes it simple to access our protected properties.
*
* @return mixed
* @return array|Commands|LoggerInterface|string|null
*/
public function __get(string $key)
{
Expand Down
2 changes: 1 addition & 1 deletion system/CLI/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ public static function getURI(): string
*
* **IMPORTANT:** The index here is one-based instead of zero-based.
*
* @return mixed
* @return string|null
*/
public static function getSegment(int $index)
{
Expand Down