Skip to content

Commit

Permalink
StyleCI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Jul 17, 2024
1 parent 1e3b72a commit e4193c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/classes/Core/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,17 +501,17 @@ private function addError(array $error): void
* Add an array of information to generate an error message to the $_to_convert array.
* These errors will be translated in the `errors()` function later.
*
* @param string $item field item
* @param string $item field item
* @param string $error error message
* @param array $meta error metadata
* @param array $meta error metadata
*/
public function addCustomError(string $item, string $error, array $meta = []): void
{
$this->_to_convert[] = [
'field' => $item,
'rule' => self::CUSTOM,
'fallback' => $error,
'meta' => $meta
'meta' => $meta,
];
}

Expand Down

0 comments on commit e4193c4

Please sign in to comment.