diff --git a/src/Response/Properties/Factory.php b/src/Response/Properties/Factory.php index 4adc571..a729819 100644 --- a/src/Response/Properties/Factory.php +++ b/src/Response/Properties/Factory.php @@ -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); }