We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11d9721 + 70816be commit 8522a37Copy full SHA for 8522a37
rector.php
@@ -216,4 +216,4 @@
216
// keep '\\' prefix string on string '\Foo\Bar'
217
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true,
218
])
219
- ->withCodeQualityLevel(14);
+ ->withCodeQualityLevel(15);
system/HTTP/CLIRequest.php
@@ -95,9 +95,7 @@ public function __construct(App $config)
95
*/
96
public function getPath(): string
97
{
98
- $path = implode('/', $this->segments);
99
-
100
- return ($path === '') ? '' : $path;
+ return implode('/', $this->segments);
101
}
102
103
/**
0 commit comments