Skip to content

Commit c878375

Browse files
committed
chore(php8): phpcs core-bundle
1 parent 8d64657 commit c878375

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

EMS/core-bundle/src/Core/Revision/Search/RevisionSearcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public function getSize(): int
3434
return $this->size;
3535
}
3636

37-
/**
38-
* @param int $size
39-
*/
4037
public function setSize(int $size): void
4138
{
4239
$this->size = $size > 0 ? $size : 100;

EMS/core-bundle/src/Entity/FieldType.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use EMS\CoreBundle\Form\DataField\DataFieldType;
1111
use EMS\CoreBundle\Form\DataField\JsonMenuNestedEditorFieldType;
1212
use EMS\Helpers\Standard\DateTime;
13-
use phpDocumentor\Reflection\Types\ClassString;
1413
use Symfony\Component\OptionsResolver\OptionsResolver;
1514

1615
/**
@@ -193,8 +192,6 @@ public function getDataValue(DataField &$dataField): never
193192

194193
/**
195194
* @param class-string<DataFieldType> $type
196-
*
197-
* @return FieldType
198195
*/
199196
public function setType(string $type): FieldType
200197
{

EMS/core-bundle/src/Form/DataField/DataFieldType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use EMS\CoreBundle\Entity\DataField;
66
use EMS\CoreBundle\Entity\FieldType;
7-
use EMS\CoreBundle\Exception\ContentTypeStructureException;
87
use EMS\CoreBundle\Form\DataField\Options\OptionsType;
98
use EMS\CoreBundle\Form\Field\SelectPickerType;
109
use EMS\CoreBundle\Service\ElasticsearchService;

EMS/core-bundle/src/Helper/AssetExtractor/ExtractedData.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ private static function convertMetaStringToArray(string $data): array
109109
$matches,
110110
PREG_PATTERN_ORDER
111111
);
112+
112113
return \array_combine($matches[1], $matches[2]);
113114
}
114115
}

0 commit comments

Comments
 (0)