Skip to content

Commit

Permalink
Add mixed type hint for magic properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem authored and dg committed Sep 29, 2023
1 parent cb0cf4b commit 2cfc3e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Dibi/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public function asDateTime(string $key, ?string $format = null)
}


/**
* @return mixed
*/
public function __get(string $key)
{
$hint = Helpers::getSuggestion(array_keys((array) $this), $key);
Expand Down

0 comments on commit 2cfc3e3

Please sign in to comment.