Fix code style

parent f64e3154
......@@ -19,7 +19,7 @@ use Longman\TelegramBot\Telegram;
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
* objects is returned.
......
......@@ -12,7 +12,6 @@ namespace Longman\TelegramBot\Http;
use Illuminate\Http\Request as LaravelRequest;
class Request extends LaravelRequest
{
......
......@@ -187,7 +187,6 @@ class ServerResponse
];
foreach ($result_object_types as $type => $object_class) {
if (isset($result[$type])) {
return new $object_class($result);
}
}
......@@ -228,5 +227,4 @@ class ServerResponse
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