File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -242,9 +242,9 @@ public function setDefaultValue($defaultValue): PropertyInterface
242
242
/**
243
243
* @inheritdoc
244
244
*/
245
- public function getDefaultValue ()
245
+ public function getDefaultValue (): ? string
246
246
{
247
- return var_export ($ this ->defaultValue , true );
247
+ return $ this -> defaultValue !== null ? var_export ($ this ->defaultValue , true ) : null ;
248
248
}
249
249
250
250
/**
Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ public function setInternal(bool $isPropertyInternal): PropertyInterface;
159
159
public function setDefaultValue ($ defaultValue ): PropertyInterface ;
160
160
161
161
/**
162
- * @return mixed
162
+ * @return string|null
163
163
*/
164
- public function getDefaultValue ();
164
+ public function getDefaultValue (): ? string ;
165
165
166
166
/**
167
167
* @return bool
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ public function setDefaultValue($defaultValue): PropertyInterface
205
205
/**
206
206
* @inheritdoc
207
207
*/
208
- public function getDefaultValue ()
208
+ public function getDefaultValue (): ? string
209
209
{
210
210
return $ this ->getProperty ()->getDefaultValue ();
211
211
}
You can’t perform that action at this time.
0 commit comments