Skip to content

Commit

Permalink
Fix Translator::sortReplacements (#16221)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored and taylorotwell committed Nov 2, 2016
1 parent 8f8790e commit 2f2da14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Translation/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ protected function sortReplacements(array $replace)
{
return (new Collection($replace))->sortBy(function ($value, $key) {
return mb_strlen($key) * -1;
});
})->all();
}

/**
Expand Down

0 comments on commit 2f2da14

Please sign in to comment.