Skip to content

Commit 2e6f451

Browse files
author
bobitluo
committedAug 16, 2019
fix file type
1 parent 93f7c71 commit 2e6f451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Builder/Class_.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function buildMethodParams( $docParams, $httpMethod ){
174174
}
175175
}
176176

177-
$type = (string)$paramDocBlock->getType();
177+
$type = ltrim( $paramDocBlock->getType(), '\\' );
178178

179179
if( $type == 'int' ){
180180
$type = 'integer';

0 commit comments

Comments
 (0)
Please sign in to comment.