Skip to content

Commit 31762b1

Browse files
Fix return types
1 parent 5e028d2 commit 31762b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Response/AsyncContext.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function getInfo(string $type = null): mixed
124124
*
125125
* @return $this
126126
*/
127-
public function setInfo(string $type, mixed $value): self
127+
public function setInfo(string $type, mixed $value): static
128128
{
129129
if ('canceled' === $type && $value !== $this->info['canceled']) {
130130
throw new \LogicException('You cannot set the "canceled" info directly.');

0 commit comments

Comments
 (0)