Skip to content

Commit f422f3b

Browse files
committed
docs: update PHPDocs
1 parent abe670e commit f422f3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Entity/Entity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function fill(?array $data = null)
146146
* __get() magic method so will have any casts, etc applied to them.
147147
*
148148
* @param bool $onlyChanged If true, only return values that have changed since object creation
149-
* @param bool $cast If true, properties will be casted.
149+
* @param bool $cast If true, properties will be cast.
150150
* @param bool $recursive If true, inner entities will be casted as array as well.
151151
*/
152152
public function toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array
@@ -287,7 +287,7 @@ public function setAttributes(array $data)
287287
* Checks the datamap to see if this property name is being mapped,
288288
* and returns the db column name, if any, or the original property name.
289289
*
290-
* @return string
290+
* @return string db column name
291291
*/
292292
protected function mapProperty(string $key)
293293
{

0 commit comments

Comments
 (0)