File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/Symfony/Component/HttpFoundation Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ final class InvalidTrustedHeaderException extends \InvalidArgumentException impl
31
31
public function __construct ($ header , $ value , $ message )
32
32
{
33
33
parent ::__construct ($ message );
34
-
35
34
$ this ->header = $ header ;
36
35
$ this ->value = $ value ;
37
36
}
Original file line number Diff line number Diff line change @@ -1521,7 +1521,7 @@ public function getContent($asResource = false)
1521
1521
{
1522
1522
$ currentContentIsResource = is_resource ($ this ->content );
1523
1523
if (PHP_VERSION_ID < 50600 && false === $ this ->content ) {
1524
- throw new \LogicException (' getContent() can only be called once when using the resource return type and PHP below 5.6. ' );
1524
+ throw new \LogicException (sprintf ( ' Method %s can only be called once when using the resource return type and PHP below 5.6. ', __METHOD__ ) );
1525
1525
}
1526
1526
1527
1527
if (true === $ asResource ) {
You can’t perform that action at this time.
0 commit comments