Skip to content

Commit 7734770

Browse files
committed
docs: fix comment
1 parent c48ed13 commit 7734770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Entity/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public function __get(string $key)
482482
// Convert to CamelCase for the method
483483
$method = 'get' . str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $key)));
484484

485-
// if a set* method exists for this key,
485+
// if a get* method exists for this key,
486486
// use that method to insert this value.
487487
if (method_exists($this, $method)) {
488488
$result = $this->{$method}();

0 commit comments

Comments
 (0)