File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 24
24
"phpstan/phpstan" : " ^1.7.1" ,
25
25
"phpunit/phpunit" : " ^9.1" ,
26
26
"predis/predis" : " ^1.1 || ^2.0" ,
27
- "rector/rector" : " 0.13.7 "
27
+ "rector/rector" : " 0.13.8 "
28
28
},
29
29
"suggest" : {
30
30
"ext-fileinfo" : " Improves mime type detection for files"
Original file line number Diff line number Diff line change @@ -661,10 +661,8 @@ public function setAuthority(string $str)
661
661
*/
662
662
public function setScheme (string $ str )
663
663
{
664
- $ str = strtolower ($ str );
665
- $ str = preg_replace ('#:(//)?$# ' , '' , $ str );
666
-
667
- $ this ->scheme = $ str ;
664
+ $ str = strtolower ($ str );
665
+ $ this ->scheme = preg_replace ('#:(//)?$# ' , '' , $ str );
668
666
669
667
return $ this ;
670
668
}
@@ -932,8 +930,7 @@ protected function applyParts(array $parts)
932
930
// Port
933
931
if (isset ($ parts ['port ' ]) && $ parts ['port ' ] !== null ) {
934
932
// Valid port numbers are enforced by earlier parse_url or setPort()
935
- $ port = $ parts ['port ' ];
936
- $ this ->port = $ port ;
933
+ $ this ->port = $ parts ['port ' ];
937
934
}
938
935
939
936
if (isset ($ parts ['pass ' ])) {
You can’t perform that action at this time.
0 commit comments