Update alias style in docs.

Former-commit-id: d7b1eb9999f535c365ce3ea6251a359c7d901769
This commit is contained in:
John-David Dalton
2012-09-04 23:47:27 -07:00
parent 8abc2925e0
commit 019f0153c8
3 changed files with 17 additions and 15 deletions

View File

@@ -99,6 +99,7 @@ class Entry {
if (count($result)) {
$result = trim(preg_replace('/(?:^|\n)\s*\* ?/', ' ', $result[1]));
$result = preg_split('/,\s*/', $result);
natsort($result);
foreach ($result as $resultIndex => $value) {
$result[$resultIndex] = new Alias($value, $this);
@@ -219,6 +220,7 @@ class Entry {
if (count($result)) {
$result = trim(preg_replace('/(?:^|\n)\s*\* ?/', ' ', $result[1]));
$result = preg_split('/,\s*/', $result);
natsort($result);
}
$this->_members = $result;
}