Skip to content

Commit 571457a

Browse files
Add return types to HttpCache createSurrogate and createStore methods
1 parent 5f35f24 commit 571457a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

HttpCache/HttpCache.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,17 @@ protected function getOptions()
8383
return [];
8484
}
8585

86+
/**
87+
* @return SurrogateInterface
88+
*/
8689
protected function createSurrogate()
8790
{
8891
return $this->surrogate ?? new Esi();
8992
}
9093

94+
/**
95+
* @return StoreInterface
96+
*/
9197
protected function createStore()
9298
{
9399
return $this->store ?? new Store($this->cacheDir ?: $this->kernel->getCacheDir().'/http_cache');

0 commit comments

Comments
 (0)