Skip to content

Commit 084d6f1

Browse files
authored
Fix syntax and handle deprecated config (#51)
follow up on #50
1 parent b6a901d commit 084d6f1

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: composer install --no-interaction
2626

2727
- name: Format
28-
run: vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --stop-on-violation
28+
run: vendor/bin/php-cs-fixer fix --config=.php_cs-fixer.dist.php -v --dry-run --stop-on-violation
2929

3030
- name: Quality
3131
if: matrix.php-versions == '7.4'
File renamed without changes.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.0.0 - 2021-05-20
1+
## 2.1.0 - 2021-05-20
22

33
- Add query message flags support
44

lib/GetStream/StreamChat/Client.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,6 @@ public function revokeTokens($before)
804804
public function revokeUserToken($userID, $before)
805805
{
806806
return $this->revokeUsersToken([$userID], $before);
807-
808807
}
809808

810809
/**
@@ -825,7 +824,7 @@ public function revokeUsersToken($userIDs, $before)
825824
"set" => [
826825
"revoke_tokens_issued_before" => $before
827826
]
828-
])
827+
]);
829828
}
830829
return $this->partialUpdateUsers($updates);
831830
}

0 commit comments

Comments
 (0)