revert: Re-add string type hint to Response::write() parameter

pull/664/head
KnifeLemon 7 days ago
parent b174bdbc6f
commit 09cb95c6e8

@ -237,7 +237,7 @@ class Response
*
* @return $this Self reference
*/
public function write($str, bool $overwrite = false): self
public function write(string $str, bool $overwrite = false): self
{
if ($overwrite === true) {
$this->clearBody();

Loading…
Cancel
Save