From 94fac9302726b3cdd341524504465b04b280eb1f Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Mon, 23 Jan 2017 12:14:53 +0100 Subject: [PATCH] Don't call isInternalPhpType() twice in TypeGenerator --- src/Generator/TypeGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/TypeGenerator.php b/src/Generator/TypeGenerator.php index 327da067..93f6cbbd 100644 --- a/src/Generator/TypeGenerator.php +++ b/src/Generator/TypeGenerator.php @@ -78,7 +78,7 @@ public static function fromTypeString($type) $instance->type = $trimmedType; $instance->nullable = $nullable; - $instance->isInternalPhpType = self::isInternalPhpType($trimmedType); + $instance->isInternalPhpType = $isInternalPhpType; return $instance; }