From 3f780cc5139fd45ebc21e8590933b0bc03fced50 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Sun, 14 Oct 2018 00:20:04 +0300 Subject: [PATCH] [fix] PHPStorm string warning messages during code inspection --- src/CLImate.php | 114 ++++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/CLImate.php b/src/CLImate.php index 9a7a2f97..d512d577 100644 --- a/src/CLImate.php +++ b/src/CLImate.php @@ -12,76 +12,76 @@ use League\CLImate\Util\UtilFactory; /** - * @method CLImate black(string $str = null) - * @method CLImate red(string $str = null) - * @method CLImate green(string $str = null) - * @method CLImate yellow(string $str = null) - * @method CLImate blue(string $str = null) - * @method CLImate magenta(string $str = null) - * @method CLImate cyan(string $str = null) - * @method CLImate lightGray(string $str = null) - * @method CLImate darkGray(string $str = null) - * @method CLImate lightRed(string $str = null) - * @method CLImate lightGreen(string $str = null) - * @method CLImate lightYellow(string $str = null) - * @method CLImate lightBlue(string $str = null) - * @method CLImate lightMagenta(string $str = null) - * @method CLImate lightCyan(string $str = null) - * @method CLImate white(string $str = null) + * @method CLImate black($str = null) + * @method CLImate red($str = null) + * @method CLImate green($str = null) + * @method CLImate yellow($str = null) + * @method CLImate blue($str = null) + * @method CLImate magenta($str = null) + * @method CLImate cyan($str = null) + * @method CLImate lightGray($str = null) + * @method CLImate darkGray($str = null) + * @method CLImate lightRed($str = null) + * @method CLImate lightGreen($str = null) + * @method CLImate lightYellow($str = null) + * @method CLImate lightBlue($str = null) + * @method CLImate lightMagenta($str = null) + * @method CLImate lightCyan($str = null) + * @method CLImate white($str = null) * - * @method CLImate backgroundBlack(string $str = null) - * @method CLImate backgroundRed(string $str = null) - * @method CLImate backgroundGreen(string $str = null) - * @method CLImate backgroundYellow(string $str = null) - * @method CLImate backgroundBlue(string $str = null) - * @method CLImate backgroundMagenta(string $str = null) - * @method CLImate backgroundCyan(string $str = null) - * @method CLImate backgroundLightGray(string $str = null) - * @method CLImate backgroundDarkGray(string $str = null) - * @method CLImate backgroundLightRed(string $str = null) - * @method CLImate backgroundLightGreen(string $str = null) - * @method CLImate backgroundLightYellow(string $str = null) - * @method CLImate backgroundLightBlue(string $str = null) - * @method CLImate backgroundLightMagenta(string $str = null) - * @method CLImate backgroundLightCyan(string $str = null) - * @method CLImate backgroundWhite(string $str = null) + * @method CLImate backgroundBlack($str = null) + * @method CLImate backgroundRed($str = null) + * @method CLImate backgroundGreen($str = null) + * @method CLImate backgroundYellow($str = null) + * @method CLImate backgroundBlue($str = null) + * @method CLImate backgroundMagenta($str = null) + * @method CLImate backgroundCyan($str = null) + * @method CLImate backgroundLightGray($str = null) + * @method CLImate backgroundDarkGray($str = null) + * @method CLImate backgroundLightRed($str = null) + * @method CLImate backgroundLightGreen($str = null) + * @method CLImate backgroundLightYellow($str = null) + * @method CLImate backgroundLightBlue($str = null) + * @method CLImate backgroundLightMagenta($str = null) + * @method CLImate backgroundLightCyan($str = null) + * @method CLImate backgroundWhite($str = null) * - * @method CLImate bold(string $str = null) - * @method CLImate dim(string $str = null) - * @method CLImate underline(string $str = null) - * @method CLImate blink(string $str = null) - * @method CLImate invert(string $str = null) - * @method CLImate hidden(string $str = null) + * @method CLImate bold($str = null) + * @method CLImate dim($str = null) + * @method CLImate underline($str = null) + * @method CLImate blink($str = null) + * @method CLImate invert($str = null) + * @method CLImate hidden($str = null) * - * @method CLImate info(string $str = null) - * @method CLImate comment(string $str = null) - * @method CLImate whisper(string $str = null) - * @method CLImate shout(string $str = null) - * @method CLImate error(string $str = null) + * @method CLImate info($str = null) + * @method CLImate comment($str = null) + * @method CLImate whisper($str = null) + * @method CLImate shout($str = null) + * @method CLImate error($str = null) * - * @method mixed out(string $str) - * @method mixed inline(string $str) + * @method mixed out($str) + * @method mixed inline($str) * @method mixed table(array $data) * @method mixed json(mixed $var) * @method mixed br($count = 1) * @method mixed tab($count = 1) - * @method mixed draw(string $art) - * @method mixed border(string $char = null, integer $length = null) + * @method mixed draw($art) + * @method mixed border($char = null, integer $length = null) * @method mixed dump(mixed $var) - * @method mixed flank(string $output, string $char = null, integer $length = null) + * @method mixed flank($output, $char = null, integer $length = null) * @method mixed progress(integer $total = null) - * @method Spinner spinner(string $label = null, string ...$characters = null) - * @method mixed padding(integer $length = 0, string $char = '.') - * @method mixed input(string $prompt, Util\Reader\ReaderInterface $reader = null) - * @method mixed confirm(string $prompt, Util\Reader\ReaderInterface $reader = null) - * @method mixed password(string $prompt, Util\Reader\ReaderInterface $reader = null) - * @method mixed checkboxes(string $prompt, array $options, Util\Reader\ReaderInterface $reader = null) - * @method mixed radio(string $prompt, array $options, Util\Reader\ReaderInterface $reader = null) - * @method mixed animation(string $art, TerminalObject\Helper\Sleeper $sleeper = null) + * @method Spinner spinner($label = null, ...$characters = null) + * @method mixed padding(integer $length = 0, $char = '.') + * @method mixed input($prompt, Util\Reader\ReaderInterface $reader = null) + * @method mixed confirm($prompt, Util\Reader\ReaderInterface $reader = null) + * @method mixed password($prompt, Util\Reader\ReaderInterface $reader = null) + * @method mixed checkboxes($prompt, array $options, Util\Reader\ReaderInterface $reader = null) + * @method mixed radio($prompt, array $options, Util\Reader\ReaderInterface $reader = null) + * @method mixed animation($art, TerminalObject\Helper\Sleeper $sleeper = null) * @method mixed columns(array $data, $column_count = null) * @method mixed clear() * - * @method CLImate addArt(string $dir) + * @method CLImate addArt($dir) */ class CLImate {