Fix code style

parent f64e3154
...@@ -19,7 +19,7 @@ use Longman\TelegramBot\Telegram; ...@@ -19,7 +19,7 @@ use Longman\TelegramBot\Telegram;
use Longman\TelegramBot\TelegramLog; use Longman\TelegramBot\TelegramLog;
/** /**
* Class Request * Class Client
* *
* @method static ServerResponse getUpdates(array $data) Use this method to receive incoming updates using long polling (wiki). An Array of Update * @method static ServerResponse getUpdates(array $data) Use this method to receive incoming updates using long polling (wiki). An Array of Update
* objects is returned. * objects is returned.
......
...@@ -12,7 +12,6 @@ namespace Longman\TelegramBot\Http; ...@@ -12,7 +12,6 @@ namespace Longman\TelegramBot\Http;
use Illuminate\Http\Request as LaravelRequest; use Illuminate\Http\Request as LaravelRequest;
class Request extends LaravelRequest class Request extends LaravelRequest
{ {
......
...@@ -187,7 +187,6 @@ class ServerResponse ...@@ -187,7 +187,6 @@ class ServerResponse
]; ];
foreach ($result_object_types as $type => $object_class) { foreach ($result_object_types as $type => $object_class) {
if (isset($result[$type])) { if (isset($result[$type])) {
return new $object_class($result); return new $object_class($result);
} }
} }
...@@ -228,5 +227,4 @@ class ServerResponse ...@@ -228,5 +227,4 @@ class ServerResponse
return $results; return $results;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment