Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 94fac93

Browse files
authored
Don't call isInternalPhpType() twice in TypeGenerator
1 parent 2899c17 commit 94fac93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/TypeGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static function fromTypeString($type)
7878

7979
$instance->type = $trimmedType;
8080
$instance->nullable = $nullable;
81-
$instance->isInternalPhpType = self::isInternalPhpType($trimmedType);
81+
$instance->isInternalPhpType = $isInternalPhpType;
8282

8383
return $instance;
8484
}

0 commit comments

Comments
 (0)