pull/6561/merge
Alies Lapatsin 2 weeks ago committed by GitHub
commit c6a87cdf4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -14,7 +14,7 @@ class BearerTokenResponse extends \League\OAuth2\Server\ResponseTypes\BearerToke
*
* @return array
*/
protected function getExtraParams(AccessTokenEntityInterface $accessToken)
protected function getExtraParams(AccessTokenEntityInterface $accessToken): array
{
return [
'scope' => implode(' ', array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes())),

@ -46,7 +46,7 @@ class DeleteCommentPipeline implements ShouldQueue
{
$groupId = $this->status->group_id;
$postId = $this->status->id;
if($this->status->)
// if($this->status->)
$parent = $this->parent;
$parent->reply_count = GroupComment::whereStatusId($parent->id)->count();
$parent->save();

Loading…
Cancel
Save