Skip to content
Permalink
Browse files

phpcs fixes

  • Loading branch information...
burzum committed Jan 22, 2017
1 parent 6e898b3 commit 116d9d9cb63ba6d2fe1bd06c855c8e5171db316d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Datasource/EntityTrait.php
@@ -821,7 +821,6 @@ public function isNew($new = null)
/**
* Returns all validation errors.
*
* @param string $field
* @return array
*/
public function getErrors()
@@ -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)

0 comments on commit 116d9d9

Please sign in to comment.
You can’t perform that action at this time.