Skip to content

Commit 4cb86d0

Browse files
Backport type fixes
1 parent 973a883 commit 4cb86d0

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

FileBag.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,9 @@ protected function convertFileInformation($file)
107107
* It's safe to pass an already converted array, in which case this method
108108
* just returns the original array unmodified.
109109
*
110-
* @param array $data
111-
*
112110
* @return array
113111
*/
114-
protected function fixPhpFilesArray($data)
112+
protected function fixPhpFilesArray(array $data)
115113
{
116114
$keys = array_keys($data);
117115
sort($keys);

InputBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* InputBag is a container for user input values such as $_GET, $_POST, $_REQUEST, and $_COOKIE.
1818
*
19-
* @author Saif Eddin Gmati <saif.gmati@symfony.com>
19+
* @author Saif Eddin Gmati <azjezz@protonmail.com>
2020
*/
2121
final class InputBag extends ParameterBag
2222
{

Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public function getProtocolVersion(): string
462462
*
463463
* @final
464464
*/
465-
public function setStatusCode(int $code, $text = null): object
465+
public function setStatusCode(int $code, string $text = null): object
466466
{
467467
$this->statusCode = $code;
468468
if ($this->isInvalid()) {

0 commit comments

Comments
 (0)