Skip to content

Commit d09ad5f

Browse files
committed
[Docs] Update changelog and bump version
1 parent 1658607 commit d09ad5f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
All notable changes to this project will be documented in this file. This project adheres to
33
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
44

5-
## Unreleased
5+
## [1.3.1] - 2019-08-19
66

77
### Fixed
88
- Updated Travis config for Laravel `5.9` being renamed `6.0`.
9+
- [#400](https://github.com/cloudcreativity/laravel-json-api/pull/400)
10+
Fix overridden variable in error translator.
911

1012
## [1.3.0] - 2019-07-24
1113

src/Validation/ErrorTranslator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,7 @@ public function failedValidator(ValidatorContract $validator, \Closure $closure
417417

418418
foreach ($messages as $detail) {
419419
if ($closure) {
420-
421-
$currentFailure = $failures->shift() ?: [];
420+
$currentFailure = $failures->shift() ?: [];
422421
$errors->add($this->call($closure, $key, $detail, $currentFailure));
423422
continue;
424423
}

0 commit comments

Comments
 (0)