mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Use alias to refer to classes outside of Push namespace
This commit is contained in:
parent
c64a87041a
commit
fc932747e9
1 changed files with 5 additions and 2 deletions
|
|
@ -2,10 +2,13 @@
|
|||
|
||||
namespace Rhymix\Framework\Drivers\Push;
|
||||
|
||||
use Rhymix\Framework\Push;
|
||||
use Rhymix\Framework\Drivers\PushInterface;
|
||||
|
||||
/**
|
||||
* The APNs (Apple) Push driver.
|
||||
*/
|
||||
class APNs extends Base implements \Rhymix\Framework\Drivers\PushInterface
|
||||
class APNs extends Base implements PushInterface
|
||||
{
|
||||
/**
|
||||
* Config keys used by this driver are stored here.
|
||||
|
|
@ -44,7 +47,7 @@ class APNs extends Base implements \Rhymix\Framework\Drivers\PushInterface
|
|||
* @param array $tokens
|
||||
* @return \stdClass
|
||||
*/
|
||||
public function send(\Rhymix\Framework\Push $message, array $tokens): \stdClass
|
||||
public function send(Push $message, array $tokens): \stdClass
|
||||
{
|
||||
$output = new \stdClass;
|
||||
$output->success = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue