Skip to content

Commit 3ac79a8

Browse files
committed
docs: replace mixed type of CLI class.
1 parent a564fe7 commit 3ac79a8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

system/CLI/BaseCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ abstract public function run(array $params);
105105
/**
106106
* Can be used by a command to run other commands.
107107
*
108-
* @return mixed
108+
* @return int|void
109109
*
110110
* @throws ReflectionException
111111
*/
@@ -205,7 +205,7 @@ public function getPad(array $array, int $pad): int
205205
/**
206206
* Makes it simple to access our protected properties.
207207
*
208-
* @return mixed
208+
* @return array|Commands|LoggerInterface|string|null
209209
*/
210210
public function __get(string $key)
211211
{

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ public static function getURI(): string
915915
*
916916
* **IMPORTANT:** The index here is one-based instead of zero-based.
917917
*
918-
* @return mixed
918+
* @return array|string|null
919919
*/
920920
public static function getSegment(int $index)
921921
{

0 commit comments

Comments
 (0)