Skip to content

Commit 718122f

Browse files
akalongmannoplanman
authored andcommitted
Fix some issues
1 parent dc11ca1 commit 718122f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Entities/Games/Game.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010

1111
namespace Longman\TelegramBot\Entities\Games;
1212

13+
use Longman\TelegramBot\Entities\Animation;
1314
use Longman\TelegramBot\Entities\Entity;
1415
use Longman\TelegramBot\Entities\MessageEntity;
16+
use Longman\TelegramBot\Entities\PhotoSize;
1517

1618
/**
1719
* Class Game
@@ -45,7 +47,7 @@ protected function subEntities()
4547
* This method overrides the default getPhoto method
4648
* and returns a nice array of PhotoSize objects.
4749
*
48-
* @return null|PhotoSize[]
50+
* @return null|\Longman\TelegramBot\Entities\PhotoSize[]
4951
*/
5052
public function getPhoto()
5153
{
@@ -60,7 +62,7 @@ public function getPhoto()
6062
* This method overrides the default getTextEntities method
6163
* and returns a nice array of MessageEntity objects.
6264
*
63-
* @return null|MessageEntity[]
65+
* @return null|\Longman\TelegramBot\Entities\MessageEntity[]
6466
*/
6567
public function getTextEntities()
6668
{

src/Entities/Games/GameHighScore.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace Longman\TelegramBot\Entities\Games;
1212

1313
use Longman\TelegramBot\Entities\Entity;
14+
use Longman\TelegramBot\Entities\User;
1415

1516
/**
1617
* Class GameHighScore

0 commit comments

Comments
 (0)