Skip to content

Commit

Permalink
fix synatx
Browse files Browse the repository at this point in the history
  • Loading branch information
Helperhaps committed Jan 8, 2018
1 parent 7667c22 commit 5bec830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/JPush/DevicePayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function updateMoblie($registration_id, $mobile) {

public function clearTags($registration_id) {
$url = $this->client->makeURL('device') . $registrationId;
return Http::post($this->client, $url, [tags: '']);
return Http::post($this->client, $url, ['tags' => '']);
}

public function updateDevice($registrationId, $alias = null, $mobile = null, $addTags = null, $removeTags = null) {
Expand Down
2 changes: 1 addition & 1 deletion src/JPush/version.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
namespace JPush;

const VERSION = '3.5.25';
const VERSION = '3.5.26';

0 comments on commit 5bec830

Please sign in to comment.