Closed kubawerlos closed 6 years ago
Merging #386 into master will increase coverage by
0.08%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #386 +/- ##
============================================
+ Coverage 71.73% 71.82% +0.08%
- Complexity 438 442 +4
============================================
Files 27 27
Lines 1256 1260 +4
============================================
+ Hits 901 905 +4
Misses 355 355
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/Generator.php | 84.35% <100%> (+0.12%) |
179 <3> (+4) |
: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 54a9c23...98b8796. Read the comment docs.
Thanks!
You can actually mock the method when it returns the final class optionally, like method(): ?MyFinalClass
.
@pr0nbaer Correct. That is now possible as of a8984cde0be9cceb892a935f714d333eeda6b97b.
Currently for a class
Example
:when trying to mock:
an error occurs: