Skip to content
Snippets Groups Projects

Stop calling parent::sendHeaders() in sendContent()

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -107,7 +107,7 @@ class QRImageResponse extends Response {
@@ -107,7 +107,7 @@ class QRImageResponse extends Response {
*/
*/
public function sendContent(): static {
public function sendContent(): static {
$this->generateQrCode($this->data);
$this->generateQrCode($this->data);
return parent::sendHeaders();
return parent::sendContent();
}
}
/**
/**
Loading