Skip to content

Commit aea624d

Browse files
author
MateuszKolankowski
committed
Update createAndPublishContent method signature to remove mixed type hint to align with php 7.4
1 parent fcaf970 commit aea624d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/bundle/Core/Features/Context/FieldTypeContext.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,9 @@ public function getFieldContentState()
201201
}
202202

203203
/**
204-
* Creates and publishes the content with a given field and
205-
* based on the internal ContentType.
204+
* @param mixed $value
206205
*/
207-
private function createAndPublishContent(?string $field, mixed $value): void
206+
private function createAndPublishContent(?string $field, $value): void
208207
{
209208
$languageCode = self::DEFAULT_LANGUAGE;
210209

0 commit comments

Comments
 (0)