mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Fix typo in Stringable example
Closes GH-754.
This commit is contained in:
parent
d3ad869d16
commit
7718f6613c
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue