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 * @return $this Self reference
*/ */
public function write($str, bool $overwrite = false): self public function write(string $str, bool $overwrite = false): self
{ {
if ($overwrite === true) { if ($overwrite === true) {
$this->clearBody(); $this->clearBody();

Loading…
Cancel
Save