Skip to content

Commit f48638a

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Updated the code example __isset() returns true only if values are present
2 parents d68adfb + 8da0e89 commit f48638a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/property_access.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ The ``getValue()`` method can also use the magic ``__get()`` method::
252252

253253
public function __isset($id): bool
254254
{
255-
return true;
255+
return isset($this->children[$id]);
256256
}
257257
}
258258

0 commit comments

Comments
 (0)