`@param` and `@return` docs fixes

Thanks Scrutenizer CI

Fixes #60
Fix an error in the components unit tests

`WordPoints_Components::register()` only accepts an array, but we were
passing a string.

See 36067d4, #63