Skip to content

Commit d065fc9

Browse files
author
Tobias Kündig
committed
Added support for Type types on Properties
1 parent d1b13a0 commit d065fc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Annotation/Property.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Property
1313
public $identifier;
1414

1515
/**
16-
* @var string
16+
* @var mixed
1717
*/
1818
public $type = 'string';
1919

src/Blueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ protected function appendProperties(&$contents, Collection $properties)
483483

484484
$contents .= sprintf(
485485
' (%s) - %s',
486-
$property->type,
486+
$this->resolveType($property->type),
487487
$property->description
488488
);
489489
});

0 commit comments

Comments
 (0)