mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Add missing return type declarations to Push class
This commit is contained in:
parent
6670a264f1
commit
e421e0af0e
1 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ class Push
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function getSupportedDrivers()
|
public static function getSupportedDrivers(): array
|
||||||
{
|
{
|
||||||
$result = array();
|
$result = array();
|
||||||
foreach (Storage::readDirectory(__DIR__ . '/drivers/push', false) as $filename)
|
foreach (Storage::readDirectory(__DIR__ . '/drivers/push', false) as $filename)
|
||||||
|
|
@ -334,10 +334,10 @@ class Push
|
||||||
/**
|
/**
|
||||||
* Get the device token
|
* Get the device token
|
||||||
*
|
*
|
||||||
* @return object
|
* @return \stdClass
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
protected function _getDeviceTokens()
|
protected function _getDeviceTokens(): \stdClass
|
||||||
{
|
{
|
||||||
$result = new \stdClass;
|
$result = new \stdClass;
|
||||||
$result->fcm = [];
|
$result->fcm = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue