Fix typo in Stringable example

Closes GH-754.
This commit is contained in:
Christoph M. Becker 2021-07-03 12:02:31 +02:00
parent d3ad869d16
commit 7718f6613c
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -75,7 +75,7 @@ class IPv4Address implements Stringable {
}
public function __toString(): string {
return "$oct1.$oct2.$oct3.$oct4";
return "$this->oct1.$this->oct2.$this->oct3.$this->oct4";
}
}