Skip to content

Commit

Permalink
Merge branch '5.2' into 5.3
Browse files Browse the repository at this point in the history
* 5.2:
  [5.2] Add missing `@return` annotations
  [4.4] Add missing `@return` annotations
  Handle lock with long key
  #42227 update phpdoc to recommend createIndex over ensureIndex
  • Loading branch information
nicolas-grekas committed Jul 23, 2021
2 parents 31e1ab0 + 7ab1cd5 commit ce0be7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Transport/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public function __construct(array $configuration, SqsClient $client = null, stri
$this->queueUrl = $queueUrl;
}

/**
* @return array
*/
public function __sleep()
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
Expand Down

0 comments on commit ce0be7b

Please sign in to comment.