Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 查询值为null时,写入模型失败的BUG #133

Merged

Conversation

limingxinleo
Copy link
Contributor

No description provided.

@limingxinleo
Copy link
Contributor Author

我们生成的模型,get方法,一定不能规定返回值

class UserModel extends Model{
    private $name;

    public function getName():string
    {
        return $this->name;
    }
}

@limingxinleo
Copy link
Contributor Author

@huangzhhui 我发现最新的tag 单测还是会失败,应该是这里的问题

@huangzhhui huangzhhui merged commit 7b909e4 into swoft-cloud:master Jul 12, 2018
@limingxinleo limingxinleo deleted the features/array-to-entity branch July 31, 2018 14:41
huangzhhui added a commit that referenced this pull request Aug 30, 2018
c51130a3 Upstream travis ci config (#160)
166a16af 修复TravisCi Build失败的BUG (#154)
b3ec7609 增加DB验证器 (#146)
a10b8629 修复Json Validator会失效的BUG (#153)
d9218a31 Fix 查询值为null时,写入模型失败的BUG (#133)

git-subtree-dir: src/db
git-subtree-split: c51130a33ab42620d652a6ccb81cb3cd0999028e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants