Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Jan 22, 2017
1 parent 6e898b3 commit 116d9d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Datasource/EntityTrait.php
Expand Up @@ -821,7 +821,6 @@ public function isNew($new = null)
/**
* Returns all validation errors.
*
* @param string $field
* @return array
*/
public function getErrors()
Expand Down Expand Up @@ -864,8 +863,9 @@ public function getError($field)
* // Sets the error messages for multiple fields at once
* $entity->errors(['salary' => ['message'], 'name' => ['another message']);
* ```
* @param array|null $field The field to get errors for, or the array of errors to set.
* @param bool $overwrite Whether or not to overwrite pre-existing errors for $field
*
* @param array $fields The array of errors to set.
* @param bool $overwrite Whether or not to overwrite pre-existing errors for $fields
* @return self
*/
public function setErrors(array $fields, $overwrite = false)
Expand Down

0 comments on commit 116d9d9

Please sign in to comment.