Fix all subEntities method visibility.

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