Skip to content

Commit c2fdc73

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Annotation/Property.php

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ protected function appendProperties(&$contents, Collection $properties)
482482

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

0 commit comments

Comments
 (0)