Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Jul 21, 2024
1 parent 730486b commit 521096a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/responsecache.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

return [
/*
* Determine if the response cache middleware should be enabled.
Expand Down Expand Up @@ -28,7 +30,7 @@
* When using the default CacheRequestFilter this setting controls the
* default number of seconds responses must be cached.
*/
'cache_lifetime_in_seconds' => (int) env('RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7),
'cache_lifetime_in_seconds' => intval(env('RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7)),

/*
* This setting determines if a http header named with the cache time
Expand Down

0 comments on commit 521096a

Please sign in to comment.