✨feature: Add contract features to dashboard page
This commit is contained in:
@@ -196,16 +196,6 @@ try {
|
||||
} catch (SpacetradersApiException $e) {
|
||||
$errorMessage = $e->getMessage();
|
||||
}
|
||||
|
||||
/**
|
||||
* Formats a string by replacing underscores with spaces and capitalizing the first letter.
|
||||
*
|
||||
* @param string $str The string to format.
|
||||
* @return string The formatted string.
|
||||
*/
|
||||
function formatString( $str ) {
|
||||
return ucfirst( strtolower( str_replace( '_', ' ', $str ) ) );
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user