leancloud / php-sdk

LeanCloud PHP SDK
Apache License 2.0
53 stars 23 forks source link

修复 beforeSave 没有正确返回对象的 bug #149

Closed juvenn closed 7 years ago

juvenn commented 7 years ago

用户定义的函数不需要返回结果,应该由中间件来负责返回在函数中被修改的对象。

codecov-io commented 7 years ago

Codecov Report

Merging #149 into master will increase coverage by 0.03%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   67.66%   67.69%   +0.03%     
==========================================
  Files          33       33              
  Lines        2134     2133       -1     
==========================================
  Hits         1444     1444              
+ Misses        690      689       -1
Impacted Files Coverage Δ
src/LeanCloud/Client.php 85.15% <ø> (ø) :arrow_up:
src/LeanCloud/Engine/LeanEngine.php 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1047caa...4eab60c. Read the comment docs.

juvenn commented 7 years ago

Approved

Approved with PullApprove