Skip to content

Commit

Permalink
Convert concatenation to 'sprintf()' call
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 29, 2023
1 parent 7082519 commit 631df6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Pages/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function getOnlineSourcePath(): string|false
return false;
}

return trim(Config::getString('docs.source_file_location_base'), '/').'/'.$this->identifier.'.md';
return sprintf('%s/%s.md', trim(Config::getString('docs.source_file_location_base'), '/'), $this->identifier);
}

public static function hasTableOfContents(): bool
Expand Down

0 comments on commit 631df6d

Please sign in to comment.