Closed plokko closed 6 years ago
Also fixes Call to undefined method Illuminate\Database\Query\Builder::restore()
error for models without soft-deletes
:exclamation: No coverage uploaded for pull request base (
master@6908f28
). Click here to learn what that means. The diff coverage is12.5%
.
@@ Coverage Diff @@
## master #27 +/- ##
=========================================
Coverage ? 76.92%
Complexity ? 15
=========================================
Files ? 1
Lines ? 39
Branches ? 0
=========================================
Hits ? 30
Misses ? 9
Partials ? 0
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/Mpociot/Firebase/SyncsWithFirebase.php | 76.92% <12.5%> (ø) |
15 <2> (?) |
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 6908f28...3526ea6. Read the comment docs.
Fixed unit testing, updated minium php version to 5.6
Added
syncWithFirebase
method that allows to manually sync the model with firebase; usefull especially if you plan on customizing the return data withgetFirebaseSyncData
and using relations that needs to be updated from related models/events.