Skip to content

Conversation

@TomHAnderson
Copy link
Contributor

…ption instead

@codecov
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.62%. Comparing base (a245230) to head (30b6b16).
Report is 6 commits behind head on 3.0.x.

Additional details and impacted files
@@ Coverage Diff @@ ## 3.0.x #644 +/- ## ============================================ + Coverage 79.60% 79.62% +0.02%  - Complexity 492 493 +1  ============================================ Files 73 73 Lines 1618 1620 +2 ============================================ + Hits 1288 1290 +2  Misses 330 330 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

/**
* Gets the object manager associated with a given class.
*
* @param class-string $className A persistent object class name.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add @return annotation, so static tools (e.g. phpstan) will understand that return type depends on argument

* @return ($throwExceptionIfNotFound is true ? ObjectManager : ObjectManager|null)

@TomHAnderson TomHAnderson merged commit 04915c1 into laravel-doctrine:3.0.x Nov 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants