mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Upper case first letter
This commit is contained in:
parent
b239e87fe2
commit
f74f35234d
@ -19,9 +19,8 @@ class DocumentationHelper {
|
||||
$name = self::trim_sort_number($name);
|
||||
|
||||
$name = str_replace(array('-', '_'), ' ', $name);
|
||||
|
||||
|
||||
return ucwords(trim($name));
|
||||
return ucfirst(trim($name));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -88,4 +87,4 @@ class DocumentationHelper {
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user