diff --git a/app/Console/Commands/Parsers/AbstractParser.php b/app/Console/Commands/Parsers/AbstractParser.php index 5974c85..9524049 100644 --- a/app/Console/Commands/Parsers/AbstractParser.php +++ b/app/Console/Commands/Parsers/AbstractParser.php @@ -22,7 +22,7 @@ public static function getInstance() { - public function __construct(){ + public function __construct() { $stack = HandlerStack::create(); $stack->push( Middleware::log( diff --git a/app/Games/BaseEngine/RedfoxBaseEngine.php b/app/Games/BaseEngine/RedfoxBaseEngine.php index f8412fe..6e75a5b 100644 --- a/app/Games/BaseEngine/RedfoxBaseEngine.php +++ b/app/Games/BaseEngine/RedfoxBaseEngine.php @@ -63,6 +63,9 @@ public function doAuth() } } + /** + * @param string $html + */ public function gameIsRunning($html) { return preg_match('/team_name/i', $html); diff --git a/app/Http/Controllers/TelegramController.php b/app/Http/Controllers/TelegramController.php index d87c3df..47a9a59 100644 --- a/app/Http/Controllers/TelegramController.php +++ b/app/Http/Controllers/TelegramController.php @@ -245,7 +245,7 @@ private function tryParseEmoji($message) } /** - * @param $chatId + * @param integer $chatId * @param $text * * @return bool @@ -381,7 +381,7 @@ private function convertCoords($deg, $min, $sec) } /** - * @param $chatId + * @param integer $chatId * @param $message * @param ReplyKeyboardMarkup $keyboard * @param int|null $replyTo diff --git a/app/Quests/EncounterQuest.php b/app/Quests/EncounterQuest.php index 27b90c0..3703bb7 100644 --- a/app/Quests/EncounterQuest.php +++ b/app/Quests/EncounterQuest.php @@ -17,7 +17,7 @@ class EncounterQuest extends BaseQuest /** * EncounterQuest constructor. * - * @param $html + * @param string $html **/ public function __construct($html) { diff --git a/app/Telegram/AbstractCommand.php b/app/Telegram/AbstractCommand.php index 65487b6..7c6dee0 100644 --- a/app/Telegram/AbstractCommand.php +++ b/app/Telegram/AbstractCommand.php @@ -83,7 +83,7 @@ public function setResponseText($responseText) } /** - * @return mixed + * @return \TelegramBot\Api\Types\ReplyKeyboardMarkup|null */ public function getResponseKeyboard() {