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

Commit e8e6491

Browse files
authored
Merge pull request #101 from danez/patch-1
Don't call isInternalPhpType() twice in TypeGenerator
2 parents 2899c17 + 94fac93 commit e8e6491

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)