Skip to content

Commit a8098b2

Browse files
minor symfony#57996 [HttpFoundation] Use typed property (derrabus)
This PR was merged into the 7.2 branch. Discussion ---------- [HttpFoundation] Use typed property | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | N/A | License | MIT This property had been introduced as part of a bugfix on the 5.4 branch where we could not use typed properties. I think we can turn it into a typed property now. Commits ------- e99e052 [httpFoundation] Use typed property
2 parents 52412c2 + e99e052 commit a8098b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ class Request
193193
self::HEADER_X_FORWARDED_PREFIX => 'X_FORWARDED_PREFIX',
194194
];
195195

196-
/** @var bool */
197-
private $isIisRewrite = false;
196+
private bool $isIisRewrite = false;
198197

199198
/**
200199
* @param array $query The GET parameters

0 commit comments

Comments
 (0)