Skip to content

Commit

Permalink
Improved naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mamazu committed Mar 28, 2024
1 parent 5c9ba23 commit 3f90452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Filesystem/Domain/FilePath.php
Expand Up @@ -48,7 +48,7 @@ public static function fromSplFileInfo(SplFileInfo $fileInfo): FilePath
return self::fromString((string) $fileInfo);
}

public static function fromUnknown(FilePath|string $path): FilePath
public static function fromFilePathOrString(FilePath|string $path): FilePath
{
if ($path instanceof FilePath) {
return $path;
Expand Down

0 comments on commit 3f90452

Please sign in to comment.