Skip to content

Commit

Permalink
[Cache] Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jul 23, 2021
1 parent d180a86 commit 5c1a20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Internal/CurlClientState.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function reset()
}
}

public function __sleep()
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
Expand Down

0 comments on commit 5c1a20b

Please sign in to comment.