@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * Create a new Property Instance |
66 | 66 | * |
67 | 67 | * @param string $name the name of the property |
68 | - * @param string|Closure|null $type {@see setType} |
|
68 | + * @param string|null $type {@see setType} |
|
69 | 69 | * @param string|null $default the default value |
70 | 70 | */ |
71 | 71 | public function __construct(string $name, $type = null, $default = null) |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Set the default value of the property if nothing is explicitly set |
148 | 148 | * |
149 | - * @param mixed $default |
|
149 | + * @param string|null $default |
|
150 | 150 | */ |
151 | 151 | public function setDefault($default) |
152 | 152 | { |