smal fixes

- Parameter '$message' type is not compatible with declaration
- Unnecessary fully qualified name