File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 22
33The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
44
5+ ## 1.6.1
6+
7+ ### Fixed
8+
9+ - Fix nullable properties
10+
511## 1.6.0
612
713### Added
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ final class PeliasAddress extends Address
4040 private $ name ;
4141
4242 /**
43- * @var float
43+ * @var float|null
4444 */
4545 private $ confidence ;
4646
@@ -75,7 +75,7 @@ public function withSource(?string $source): self
7575 return $ new ;
7676 }
7777
78- public function getLayer (): string
78+ public function getLayer (): ? string
7979 {
8080 return $ this ->layer ;
8181 }
@@ -101,12 +101,12 @@ public function withName(?string $name): self
101101 return $ new ;
102102 }
103103
104- public function getConfidence (): float
104+ public function getConfidence (): ? float
105105 {
106106 return $ this ->confidence ;
107107 }
108108
109- public function withConfidence (float $ confidence ): self
109+ public function withConfidence (? float $ confidence ): self
110110 {
111111 $ new = clone $ this ;
112112 $ new ->confidence = $ confidence ;
You can’t perform that action at this time.
0 commit comments