@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | use GuzzleHttp\Client; |
13 | 13 | use Psr\Http\Message\ResponseInterface; |
14 | -use Telegram\Config\BaseConfig; |
|
15 | 14 | use Telegram\Entry\MessageEntry; |
16 | 15 | use Telegram\Exceptions\TelegramCoreException; |
17 | 16 | use Telegram\Types\User; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | return $keyboard; |
40 | 40 | } |
41 | 41 | |
42 | - public function toArray(){ |
|
42 | + public function toArray() { |
|
43 | 43 | return $this->rows->toArray(); |
44 | 44 | } |
45 | 45 | } |
46 | 46 | \ No newline at end of file |
@@ -33,7 +33,7 @@ |
||
33 | 33 | return $this->set('inline_keyboard', $keyboard->toArray()); |
34 | 34 | } |
35 | 35 | |
36 | - public function text($text){ |
|
36 | + public function text($text) { |
|
37 | 37 | return $this->set('text', $text); |
38 | 38 | } |
39 | 39 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | $baseType = $this->baseType; |
30 | 30 | $this->array = collect($array) |
31 | - ->map(function ($item) use ($baseType) { |
|
31 | + ->map(function($item) use ($baseType) { |
|
32 | 32 | return new BaseType($item); |
33 | 33 | }); |
34 | 34 | } |