Refactor parseAttribsToArray() a little
Fix order of citation attribute
Small PHPDoc update