mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Fix ambiguous 'object' type in PHP < 7.2
This commit is contained in:
parent
1e21c8f43b
commit
6670a264f1
3 changed files with 8 additions and 10 deletions
|
|
@ -42,9 +42,9 @@ class FCM 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 = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue