Fix all subEntities method visibility.

parent c77ccd6c
......@@ -30,7 +30,7 @@ class CallbackQuery extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'from' => User::class,
......
......@@ -46,7 +46,7 @@ class Chat extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'photo' => ChatPhoto::class,
......
......@@ -38,7 +38,7 @@ class ChatMember extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'user' => User::class,
......
......@@ -29,7 +29,7 @@ class OrderInfo extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'shipping_address' => ShippingAddress::class,
......
......@@ -34,7 +34,7 @@ class PreCheckoutQuery extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'from' => User::class,
......
......@@ -31,7 +31,7 @@ class ShippingQuery extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'from' => User::class,
......
......@@ -32,7 +32,7 @@ class SuccessfulPayment extends Entity
/**
* {@inheritdoc}
*/
public function subEntities()
protected function subEntities()
{
return [
'order_info' => OrderInfo::class,
......
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