Skip to content

Commit

Permalink
fixup! feat: OCC and OCS Calendar Import/Export
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski committed Feb 12, 2025
1 parent 8eff6e4 commit bd1c20a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/public/AppFramework/Http/StreamGeneratorResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @since 31.0.0
*
* @template-extends Response<int, array<string, mixed>>
* @template-extends Response<Http::STATUS_*, array<string, mixed>>
*/
class StreamGeneratorResponse extends Response implements ICallbackResponse {
protected $generator;
Expand All @@ -28,7 +28,7 @@ class StreamGeneratorResponse extends Response implements ICallbackResponse {
* @param String $contentType http response content type e.g. 'application/json; charset=UTF-8'
* @param int $status http response status
*/
public function __construct(Generator $generator, string $contentType, int $status = 200) {
public function __construct(Generator $generator, string $contentType, int $status = Http::STATUS_OK) {
parent::__construct();

$this->generator = $generator;
Expand Down

0 comments on commit bd1c20a

Please sign in to comment.