Skip to content

Commit

Permalink
Update upgrade.md
Browse files Browse the repository at this point in the history
Avoiding blade errors
  • Loading branch information
Henrique Duarte Coelho authored Sep 4, 2019
1 parent 8e7246f commit a4a8562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ All `str_` and `array_` helpers have been moved to the new `laravel/helpers` Com
<a name="trans-and-trans-choice"></a>
#### The `Lang::trans` & `Lang::transChoice` Methods

> {note} You should run `php artisan view:clear` to avoid Blade errors related to the removal of `Lang::transChoice`, `Lang::trans` and `Lang::getFromJson`.
**Likelihood Of Impact: Medium**

The `Lang::trans` and `Lang::transChoice` methods of the translator have been renamed to `Lang::get` and `Lang::choice`.
Expand Down

0 comments on commit a4a8562

Please sign in to comment.