From 1d57f8dafe7a680f0fdda9e1c845f2b4b439d345 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sun, 7 Apr 2019 02:48:59 +0200 Subject: [PATCH] Refix for properties factory --- src/Response/Properties/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }