UserGroupBackendForm: Some small documentation fixes

This commit is contained in:
Johannes Meyer 2015-06-29 11:11:06 +02:00
parent cfd43f251e
commit 8c8198eeea
1 changed files with 6 additions and 2 deletions

View File

@ -35,6 +35,8 @@ class UserGroupBackendForm extends ConfigForm
* @param string $type The backend type for which to return a form
*
* @return Form
*
* @throws InvalidArgumentException In case the given backend type is invalid
*/
public function getBackendForm($type)
{
@ -74,6 +76,8 @@ class UserGroupBackendForm extends ConfigForm
/**
* Add a new user group backend
*
* The backend to add is identified by the array-key `name'.
*
* @param array $data
*
* @return $this
@ -171,7 +175,7 @@ class UserGroupBackendForm extends ConfigForm
'pattern' => '/^[^\\[\\]:]+$/',
'messages' => array(
'regexNotMatch' => $this->translate(
'The backend name cannot contain \'[\', \']\' or \':\'.'
'The name cannot contain \'[\', \']\' or \':\'.'
)
)
)