Skip to content

Commit

Permalink
Fix formatRules compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Dec 18, 2024
1 parent 7d08616 commit 8f81127
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.1] - 18-12-2024

### Changed

- Fixed formatRules compatibility

## [3.0.0] - 18-12-2024

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/HandlesTranslatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trait HandlesTranslatable
*
* @return array
*/
protected static function formatRules(NovaRequest $request, array $rules)
protected static function formatRules(NovaRequest $request, array $rules): array
{
$rules = parent::formatRules($request, $rules);

Expand Down

0 comments on commit 8f81127

Please sign in to comment.