Skip to content

Commit 1d90023

Browse files
committed
Put back the default value test into Project\Config::d
1 parent 8a5a2c3 commit 1d90023

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/resources/Project/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract class Config implements ConfigInterface
2626
/**
2727
* @var string
2828
*/
29-
protected $d;
29+
protected $d = 'abcd';
3030

3131
/**
3232
* @return string

tests/yaml/project-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ properties:
44
a: string
55
b: string
66
c: string
7-
d: string
7+
d:
8+
type: string
9+
default: 'abcd'

0 commit comments

Comments
 (0)