Skip to content

Commit

Permalink
fixup! Refactor XmlConfigLoad.php to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jun 2, 2024
1 parent 645e518 commit defc4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XmlConfigLoad.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function locateConfigFile(string $path): string
}

$dirPath = realpath($path) ?: getcwd();
assert(is_dir($dirPath));
assert(is_dir((string) $dirPath));

do {
$maybePath = sprintf('%s/%s', $dirPath, $this->configName);
Expand Down

0 comments on commit defc4c8

Please # to comment.