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 committed Sep 28, 2023
1 parent cb0cf4b commit 44fa04e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dibi/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ public function asDateTime(string $key, ?string $format = null)
return $format === null ? $time : $time->format($format);
}


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

0 comments on commit 44fa04e

Please sign in to comment.