xp-framework/xp-framework — pull request #264 by thekid (2013-03-27 11:16:19+00:00)
Title: Use "var" instead of "void" as return type when no api documentation is available

This pull request changes the return type for methods without apidoc from `Type::$VOID` (think: *does not return anything*) to `Type::$VAR` (think: *may return anything*).

```php

```

### Old behaviour:
```sh
$ xp -w 'XPClass::forName("Test")->getMethod("fixture")->getReturnType();'
lang.Type
```

### New behaviour:
```sh
$ xp -w 'XPClass::forName("Test")->getMethod("fixture")->getReturnType();'
lang.Type
```

### BC
The behaviour for this is unchanged:
```php

```

As the is no `@return` tag, the return type is `void`.

### Motivation
This is useful during RAD; especially for REST services, where the `void` return type will lead to a `HTTP/1.1 204 No Content`.