@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | * Turn a string|int|Group into a Group object |
422 | 422 | * |
423 | 423 | * @param string|int|Group $group Group instance, Group Code or ID |
424 | - * @return Group|bool Returns FALSE if the Group doesn't exit, otherwise returns the Group Object |
|
424 | + * @return DataObject|null Returns FALSE if the Group doesn't exit, otherwise returns the Group Object |
|
425 | 425 | */ |
426 | 426 | protected function identifierToGroup($group) |
427 | 427 | { |
@@ -471,6 +471,7 @@ discard block |
||
471 | 471 | * Overloaded to ensure the code is always descent. |
472 | 472 | * |
473 | 473 | * @param string |
474 | + * @param string $val |
|
474 | 475 | */ |
475 | 476 | public function setCode($val) |
476 | 477 | { |