Skip to content

Commit 968650f

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing PHPdoc return types
1 parent 895a4b0 commit 968650f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

HeaderBag.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ public function count(): int
254254
return \count($this->headers);
255255
}
256256

257+
/**
258+
* @return string
259+
*/
257260
protected function getCacheControlHeader()
258261
{
259262
ksort($this->cacheControl);

ResponseHeaderBag.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public function allPreserveCase(): array
5555
return $headers;
5656
}
5757

58+
/**
59+
* @return array
60+
*/
5861
public function allPreserveCaseWithoutCookies()
5962
{
6063
$headers = $this->allPreserveCase();
@@ -224,6 +227,8 @@ public function clearCookie(string $name, ?string $path = '/', string $domain =
224227

225228
/**
226229
* @see HeaderUtils::makeDisposition()
230+
*
231+
* @return string
227232
*/
228233
public function makeDisposition(string $disposition, string $filename, string $filenameFallback = '')
229234
{

0 commit comments

Comments
 (0)