Skip to content

Commit

Permalink
Long Array syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Oct 28, 2015
1 parent e6e305a commit d3bfb18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wechat/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ public function memberCardActivate($cardId, array $data)
* @return array
*/
public function userCardLists($openid , $cardId = null){
$params = [
$params = array(
'openid' => $openid,
'card_id' => $cardId
];
);
return new Bag($this->http->jsonPost(self::API_USER_CARD_LIST, $params));
}

Expand Down

0 comments on commit d3bfb18

Please sign in to comment.