Refix for properties factory

This commit is contained in:
ErickSkrauch
2019-04-07 02:48:59 +02:00
parent 0b0ca2c445
commit 1d57f8dafe

View File

@@ -12,7 +12,7 @@ class Factory {
public static function createFromProp(array $prop): Property {
$name = $prop['name'];
if (isset(self::$MAP[$name])) {
$className = static::$MAP[$name];
$className = self::$MAP[$name];
return new $className($prop);
}