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 2424 "phpstan/phpstan" : " ^1.7.1" ,
2525 "phpunit/phpunit" : " ^9.1" ,
2626 "predis/predis" : " ^1.1 || ^2.0" ,
27- "rector/rector" : " 0.13.7 "
27+ "rector/rector" : " 0.13.8 "
2828 },
2929 "suggest" : {
3030 "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)
661661 */
662662 public function setScheme (string $ str )
663663 {
664- $ str = strtolower ($ str );
665- $ str = preg_replace ('#:(//)?$# ' , '' , $ str );
666-
667- $ this ->scheme = $ str ;
664+ $ str = strtolower ($ str );
665+ $ this ->scheme = preg_replace ('#:(//)?$# ' , '' , $ str );
668666
669667 return $ this ;
670668 }
@@ -932,8 +930,7 @@ protected function applyParts(array $parts)
932930 // Port
933931 if (isset ($ parts ['port ' ]) && $ parts ['port ' ] !== null ) {
934932 // Valid port numbers are enforced by earlier parse_url or setPort()
935- $ port = $ parts ['port ' ];
936- $ this ->port = $ port ;
933+ $ this ->port = $ parts ['port ' ];
937934 }
938935
939936 if (isset ($ parts ['pass ' ])) {
You can’t perform that action at this time.
0 commit comments