Skip to content

Commit

Permalink
add missing return $this in method setCid()
Browse files Browse the repository at this point in the history
  • Loading branch information
Helperhaps committed Aug 1, 2017
1 parent bf99153 commit a3d1907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/JPush/PushPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function getCid($count = 1, $type = 'push') {

public function setCid($cid) {
$this->cid = trim($cid);
return $this;
}

public function setPlatform($platform) {
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.21';
const VERSION = '3.5.22';

0 comments on commit a3d1907

Please sign in to comment.