Skip to content

Conversation

paulbalandan
Copy link
Member

Description
Adds a @phpstan-assert to let phpstan know the type of $this->model after calling $this->createModel().

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan added the testing Pull requests that changes tests only label May 26, 2025
@paulbalandan paulbalandan merged commit 327c7e1 into codeigniter4:develop May 27, 2025
47 checks passed
@paulbalandan paulbalandan deleted the create-model-tests branch May 27, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Pull requests that changes tests only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants