Fix ambiguous 'object' type in PHP < 7.2

This commit is contained in:
Kijin Sung 2020-12-11 19:42:46 +09:00
parent 1e21c8f43b
commit 6670a264f1
3 changed files with 8 additions and 10 deletions

View file

@ -42,9 +42,9 @@ class APNs extends Base implements \Rhymix\Framework\Drivers\PushInterface
*
* @param object $message
* @param array $tokens
* @return object
* @return \stdClass
*/
public function send(\Rhymix\Framework\Push $message, array $tokens)
public function send(\Rhymix\Framework\Push $message, array $tokens): \stdClass
{
$output = new \stdClass;
$output->success = [];