Skip to content

Commit

Permalink
run cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
olinox14 committed Apr 17, 2024
1 parent 1f5dd30 commit bf15024
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public static function join(string|self $path, string|self ...$parts): self
* @param string|self $path The path with the drive.
* @return array<string> An array containing the drive and the path.
*/
public static function splitDrive(string|self $path): array {
public static function splitDrive(string|self $path): array
{
$path = (string)$path;

$matches = [];
Expand Down Expand Up @@ -1639,7 +1640,7 @@ public function parts(): array

if ($prefix) {
$path = ltrim($path, BuiltinProxy::$DIRECTORY_SEPARATOR);
} else if (str_starts_with($path, BuiltinProxy::$DIRECTORY_SEPARATOR)) {
} elseif (str_starts_with($path, BuiltinProxy::$DIRECTORY_SEPARATOR)) {
$parts[] = BuiltinProxy::$DIRECTORY_SEPARATOR;
}

Expand Down

0 comments on commit bf15024

Please sign in to comment.