Fix typo in type name

Signed-off-by: Michal Čihař <michal@cihar.com>
Correctly specify types in docblock

Signed-off-by: Michal Čihař <michal@cihar.com>
This is actually a string

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix return type

Signed-off-by: Michal Čihař <michal@cihar.com>