Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DependencyInjection] made a small performance enhancement. No need t…
…o lowercase three times the same. `strtolower` was called three times at most on the same value, and one at least. To avoid this, let's compute it first. Additionally, $value cast in last return clause was useless as it has been done previously, and nothing changed $value's value. Signed-off-by: Romain Dorgueil <romain.dorgueil@symfony-project.com>
- Loading branch information