Skip to content

Commit

Permalink
Merge pull request #925 from sanfair/always-validate-lose-generic-type
Browse files Browse the repository at this point in the history
Improve type for CreationContextFactory::alwaysValidate
  • Loading branch information
rubenvanassche authored Jan 17, 2025
2 parents fc7de38 + e2eca74 commit a226f11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Support/Creation/CreationContextFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public function onlyValidateRequests(): self
return $this;
}

/**
* @return $this
*/
public function alwaysValidate(): self
{
$this->validationStrategy = ValidationStrategy::Always;
Expand Down

0 comments on commit a226f11

Please sign in to comment.