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

Resolve get class string instead of an object. #64

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Resolve get class string instead of an object. #64

merged 4 commits into from
Sep 2, 2024

Conversation

PhilippeThouvenot
Copy link
Contributor

Resolve get class string instead of an object.
This fix resolve a crash with phpstan or ide-helper

Exemple :
Internal error: class_exists(): Argument #1 ($class) must be of type string, App\Domain\Project\Database\Factories\TaskFactory given while analysing file
/root/digit/app/Domain/Project/Seeders/TaskSeeder.php

This fix resolve a crash with phpstan or ide-helper
@jaspertey
Copy link
Member

Thanks for the PR! I am looking at this today; need to sort out the broken tests before merging. Currently cloning the PR locally and looking into it.

@jaspertey
Copy link
Member

@PhilippeThouvenot - Looks like there some issues with the test suite, unrelated to this change. I need to investigate separately. In the meantime, I will merge this PR into the develop branch.

@jaspertey jaspertey changed the base branch from main to develop September 2, 2024 15:45
@jaspertey jaspertey merged commit 4f4e121 into lunarstorm:develop Sep 2, 2024
1 of 21 checks passed
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