Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit 11a8dba

Browse files
committed
Reformat code
1 parent 053c7a3 commit 11a8dba

37 files changed

Lines changed: 1199 additions & 1180 deletions

src/GetuiServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function boot()
2525
*/
2626
public function register()
2727
{
28-
$this->app->singleton('getui', function($app) {
28+
$this->app->singleton('getui', function ($app) {
2929
return new Getui;
3030
});
3131
}

src/sdk/IGtBatch.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Cncal\Getui\Sdk\IGetui\SingleBatchItem;
66
use Cncal\Getui\Sdk\IGetui\Utils\GTConfig;
77
use Cncal\Getui\Sdk\IGetui\SingleBatchRequest;
8+
89
/**
910
* Created by PhpStorm.
1011
* User: Administrator
@@ -48,15 +49,15 @@ public function add($message, $target)
4849

4950
public function createSingleJson($message, $target)
5051
{
51-
$params = $this->push->getSingleMessagePostData($message,$target);
52+
$params = $this->push->getSingleMessagePostData($message, $target);
5253
return json_encode($params);
5354
}
5455

5556
public function submit()
5657
{
5758
$requestId = uniqid();
5859
$data = array();
59-
$data["appkey"]=$this->APPKEY;
60+
$data["appkey"] = $this->APPKEY;
6061
$data["serialize"] = "pb";
6162
$data["async"] = GTConfig::isPushSingleBatchAsync();
6263
$data["action"] = "pushMessageToSingleBatchAction";

0 commit comments

Comments
 (0)