Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes (#13)
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer authored and akeinhell committed Apr 8, 2017
1 parent 004556e commit af9c6a6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/Parsers/AbstractParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function getInstance() {



public function __construct(){
public function __construct() {
$stack = HandlerStack::create();
$stack->push(
Middleware::log(
Expand Down
3 changes: 3 additions & 0 deletions app/Games/BaseEngine/RedfoxBaseEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public function doAuth()
}
}

/**
* @param string $html
*/
public function gameIsRunning($html)
{
return preg_match('/team_name/i', $html);
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/TelegramController.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private function tryParseEmoji($message)
}

/**
* @param $chatId
* @param integer $chatId
* @param $text
*
* @return bool
Expand Down Expand Up @@ -381,7 +381,7 @@ private function convertCoords($deg, $min, $sec)
}

/**
* @param $chatId
* @param integer $chatId
* @param $message
* @param ReplyKeyboardMarkup $keyboard
* @param int|null $replyTo
Expand Down
2 changes: 1 addition & 1 deletion app/Quests/EncounterQuest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EncounterQuest extends BaseQuest
/**
* EncounterQuest constructor.
*
* @param $html
* @param string $html
**/
public function __construct($html)
{
Expand Down
2 changes: 1 addition & 1 deletion app/Telegram/AbstractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function setResponseText($responseText)
}

/**
* @return mixed
* @return \TelegramBot\Api\Types\ReplyKeyboardMarkup|null
*/
public function getResponseKeyboard()
{
Expand Down

0 comments on commit af9c6a6

Please sign in to comment.