Skip to content

Commit

Permalink
Merge pull request #7435 from ping-yee/replace-mixed-cli
Browse files Browse the repository at this point in the history
docs: replace `mixed` type at CLI class.
  • Loading branch information
kenjis authored Apr 20, 2023
2 parents 78b215b + dad7ee9 commit 148c5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 148c5e1

Please sign in to comment.