Skip to content

Commit 3446ac4

Browse files
Merge branch '4.4' into 5.2
* 4.4: [4.4] Add missing `@return` annotations Handle lock with long key
2 parents ff22186 + ade6979 commit 3446ac4

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Chunk/ErrorChunk.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ public function didThrow(bool $didThrow = null): bool
120120
return $this->didThrow;
121121
}
122122

123+
/**
124+
* @return array
125+
*/
123126
public function __sleep()
124127
{
125128
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

CurlHttpClient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@ public function reset()
367367
}
368368
}
369369

370+
/**
371+
* @return array
372+
*/
370373
public function __sleep()
371374
{
372375
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

HttplugClient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@ public function createUri($uri): UriInterface
218218
throw new \LogicException(sprintf('You cannot use "%s()" as the "nyholm/psr7" package is not installed. Try running "composer require nyholm/psr7".', __METHOD__));
219219
}
220220

221+
/**
222+
* @return array
223+
*/
221224
public function __sleep()
222225
{
223226
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

0 commit comments

Comments
 (0)