Skip to content

Commit

Permalink
correcao
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Morais authored and Bruno Morais committed Feb 23, 2024
1 parent b8c738b commit 9841786
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ModelAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ public function __construct(array $params = null)

/**
* @param $name
* @return string
*/
public function __get($name): string
public function __get($name)
{
return $this->{$name} ?? ($this->dataModelArray[$name]?? "");
}
Expand Down

0 comments on commit 9841786

Please sign in to comment.