Improve docblock for object arrays.

parent d58e54ba
......@@ -103,7 +103,7 @@ class Message extends Entity
* This method overrides the default getPhoto method
* and returns a nice array of PhotoSize objects.
*
* @return null|array
* @return null|PhotoSize[]
*/
public function getPhoto()
{
......@@ -118,7 +118,7 @@ class Message extends Entity
* This method overrides the default getNewChatPhoto method
* and returns a nice array of PhotoSize objects.
*
* @return null|array
* @return null|PhotoSize[]
*/
public function getNewChatPhoto()
{
......@@ -133,7 +133,7 @@ class Message extends Entity
* This method overrides the default getEntities method
* and returns a nice array of MessageEntity objects.
*
* @return null|array
* @return null|MessageEntity[]
*/
public function getEntities()
{
......
......@@ -34,7 +34,7 @@ class UserProfilePhotos extends Entity
*
* This method overrides the default getPhotos method and returns a nice array
*
* @return array
* @return PhotoSize[]
*/
public function getPhotos()
{
......
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