added tests for return value validation if the type hint contains short array syntax
added rule when parsing type hints to substitute hints with short array syntax with plain array (e.g. MyClass[] => array)