Skip to content

fix: resolve Builder::create() crash when chaining after withoutHook()#239

Merged
techmahedy merged 2 commits intodoppar:3.xfrom
techmahedy:techmahedy-3.x
Apr 7, 2026
Merged

fix: resolve Builder::create() crash when chaining after withoutHook()#239
techmahedy merged 2 commits intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Copy Markdown
Member

Fixed Builder::create() crash caused by new static() resolving to Builder instead of the model class when called after withoutHook().

Overrode create() in Builder to use $this->modelClass directly. withoutHook() now correctly returns a Builder instance for proper fluent chaining.

@techmahedy techmahedy merged commit 7c4eafa into doppar:3.x Apr 7, 2026
27 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.

1 participant