File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
4
4
5
+ ## 1.6.1
6
+
7
+ ### Fixed
8
+
9
+ - Fix nullable properties
10
+
5
11
## 1.6.0
6
12
7
13
### Added
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ final class PeliasAddress extends Address
40
40
private $ name ;
41
41
42
42
/**
43
- * @var float
43
+ * @var float|null
44
44
*/
45
45
private $ confidence ;
46
46
@@ -75,7 +75,7 @@ public function withSource(?string $source): self
75
75
return $ new ;
76
76
}
77
77
78
- public function getLayer (): string
78
+ public function getLayer (): ? string
79
79
{
80
80
return $ this ->layer ;
81
81
}
@@ -101,12 +101,12 @@ public function withName(?string $name): self
101
101
return $ new ;
102
102
}
103
103
104
- public function getConfidence (): float
104
+ public function getConfidence (): ? float
105
105
{
106
106
return $ this ->confidence ;
107
107
}
108
108
109
- public function withConfidence (float $ confidence ): self
109
+ public function withConfidence (? float $ confidence ): self
110
110
{
111
111
$ new = clone $ this ;
112
112
$ new ->confidence = $ confidence ;
You can’t perform that action at this time.
0 commit comments