Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Return type
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Oct 15, 2021
1 parent 8888448 commit d4060bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CacheResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function for(string $time)
$this->response->setSharedMaxAge($seconds);
}

public function isWebResponse()
public function isWebResponse(): bool
{
return $this->response instanceof \craft\web\Response;
}
Expand Down

0 comments on commit d4060bc

Please sign in to comment.