Skip to content

Commit 7f062b1

Browse files
author
Andrei Igna
committed
[HttpFoundation] add return type, replacing docblock
1 parent 62e4c48 commit 7f062b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/HttpFoundation/Request.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -1362,10 +1362,8 @@ public function getContentType()
13621362

13631363
/**
13641364
* Gets the acceptable client formats associated with the request.
1365-
*
1366-
* @return array List of acceptable formats by the client
13671365
*/
1368-
public function getAcceptableFormats()
1366+
public function getAcceptableFormats(): array
13691367
{
13701368
if (null !== $this->acceptableFormats) {
13711369
return $this->acceptableFormats;

0 commit comments

Comments
 (0)