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