Update Environment.php

This commit is contained in:
Anton Medvedev 2016-12-08 13:25:53 +07:00 committed by GitHub
parent 619b1a2f3b
commit 2e8e37aef7

View File

@ -74,7 +74,7 @@ class Environment
private function checkIfNameIsProtected($name)
{
$length = strlen($name);
foreach ($this->protectedNames as $protectedName) {
$len = strlen($protectedName);
if ($name === $protectedName) {