Skip to content

[12.x] Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class#58314

Merged
taylorotwell merged 4 commits intolaravel:12.xfrom
nicDamours:bugfixes/#58313-fix-container-buildSelfBuildingInstance-phpdoc
Jan 7, 2026
Merged

[12.x] Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class#58314
taylorotwell merged 4 commits intolaravel:12.xfrom
nicDamours:bugfixes/#58313-fix-container-buildSelfBuildingInstance-phpdoc

Conversation

@nicDamours
Copy link
Contributor

Fixed the phpdoc of the buildSelfBuildingInstance function, in the Container class, to fix an error when attempting to analyze the class using psalm version 6.14.3 and up.

Fixes #58313

Nicolas D'Amours added 4 commits January 7, 2026 12:00
Fixed phpdoc of the newly added function buildSelfBuildingInstance, to prevent psalm from erroring when parsing this class.
Fixed formatting
Fixed formatting
Removed unused line-return
@nicDamours nicDamours changed the title [BUGFIX] #58313 Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class [12.x] #58313 Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class Jan 7, 2026
@nicDamours nicDamours changed the title [12.x] #58313 Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class [12.x] Fixed phpdoc of Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class Jan 7, 2026
@taylorotwell taylorotwell merged commit 36a271e into laravel:12.x Jan 7, 2026
70 checks passed
@nicDamours nicDamours deleted the bugfixes/#58313-fix-container-buildSelfBuildingInstance-phpdoc branch January 8, 2026 14:01
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.

Invalid Generic type usage in Container causing an error when running psalm

2 participants

Comments