@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $annotatinons = AnnotationHelper::getAnnotations($this, $key); |
| 33 | 33 | |
| 34 | 34 | if ($annotatinons && array_key_exists('var', $annotatinons)) { |
| 35 | - $class = '\\Telegram\\Types\\' . $annotatinons['var']; |
|
| 35 | + $class = '\\Telegram\\Types\\'.$annotatinons['var']; |
|
| 36 | 36 | if (class_exists($class)) { |
| 37 | 37 | /** @var BaseType $class */ |
| 38 | 38 | $this->$key = $class::create($value); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | private function toCamelCase($key) |
| 73 | 73 | { |
| 74 | - return lcfirst(implode(array_map(function ($part) { |
|
| 74 | + return lcfirst(implode(array_map(function($part) { |
|
| 75 | 75 | return ucfirst($part); |
| 76 | 76 | }, explode('_', $key)))); |
| 77 | 77 | |