mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +00:00
Fix docblock NO_CI
This commit is contained in:
parent
0c93056d66
commit
d03848cc3d
|
|
@ -100,7 +100,7 @@ final class HttpResponse extends ResponseAbstract implements RenderableInterface
|
||||||
/**
|
/**
|
||||||
* Generate response based on header.
|
* Generate response based on header.
|
||||||
*
|
*
|
||||||
* @param bool $optimize Optimize response / minify
|
* @param mixed $data Data passt to render function. (0 => bool: $optimize
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*
|
*
|
||||||
|
|
@ -116,7 +116,7 @@ final class HttpResponse extends ResponseAbstract implements RenderableInterface
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->getRaw($data[0]);
|
return $this->getRaw($data[0] ?? false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -197,6 +197,15 @@ final class HttpResponse extends ResponseAbstract implements RenderableInterface
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ends the output buffering
|
||||||
|
*
|
||||||
|
* This is helpful in case the output buffering should be stopped for streamed/chunked responses (e.g. large data)
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function endAllOutputBuffering() : void
|
public function endAllOutputBuffering() : void
|
||||||
{
|
{
|
||||||
$this->header->push();
|
$this->header->push();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user