Skip to content

Commit df890f9

Browse files
Merge branch '5.4' into 6.0
* 5.4: [DoctrineBridge] Remove dead code [Lock] Remove unused variable [DoctrineBridge] Replace string with FQCN resolution in EntityType Add missing `@return $this` annotations [Notifier] Add missing types to SmscTransport
2 parents 2794398 + 187a580 commit df890f9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Field/ChoiceFormField.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ public function availableOptionValues(): array
283283
* Disables the internal validation of the field.
284284
*
285285
* @internal
286+
*
287+
* @return $this
286288
*/
287289
public function disableValidation(): static
288290
{

Form.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,10 @@ public function offsetUnset(mixed $name): void
330330

331331
/**
332332
* Disables validation.
333+
*
334+
* @return $this
333335
*/
334-
public function disableValidation(): self
336+
public function disableValidation(): static
335337
{
336338
foreach ($this->fields->all() as $field) {
337339
if ($field instanceof Field\ChoiceFormField) {

0 commit comments

Comments
 (0)