Added a user guide based on MkDocs

This commit is contained in:
Cédric Belin
2018-11-21 17:53:26 +01:00
parent 21d1131813
commit 4e9e67a695
11 changed files with 211 additions and 9 deletions

View File

@ -244,7 +244,7 @@ class Repository implements \JsonSerializable {
*/
function getName(): string {
if (mb_strlen($this->name)) return $this->name;
return mb_strlen($fullName = $this->getFullName()) ? explode('/', $fullName, 2)[0] : '';
return mb_strlen($fullName = $this->getFullName()) ? explode('/', $fullName)[1] : '';
}
/**