Skip to content

Commit e121444

Browse files
committed
minor #130 fix code style (xabbuh)
This PR was merged into the 0.2-dev branch. Discussion ---------- fix code style Commits ------- 5b49726 fix code style
2 parents 3872782 + 5b49726 commit e121444

File tree

6 files changed

+2
-24
lines changed

6 files changed

+2
-24
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
'array_syntax' => ['syntax' => 'short'],
3131
'declare_equal_normalize' => ['space' => 'single'],
3232
'declare_strict_types' => true,
33+
'get_class_to_class_keyword' => false,
3334
'header_comment' => [
3435
'header' => 'This file is part of the RichModelFormsBundle package.
3536
@@ -46,6 +47,7 @@
4647
'import_constants' => false,
4748
'import_functions' => false,
4849
],
50+
'modernize_strpos' => false,
4951
'ordered_imports' => true,
5052
'php_unit_no_expectation_annotation' => false,
5153
'void_return' => true,

src/Qossmic/DataMapper/PropertyMapperInterface.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@
2020
*/
2121
interface PropertyMapperInterface
2222
{
23-
/**
24-
* @param mixed $data
25-
*
26-
* @return mixed
27-
*/
2823
public function readPropertyValue($data);
2924

30-
/**
31-
* @param mixed $data
32-
* @param mixed $value
33-
*/
3425
public function writePropertyValue($data, $value): void;
3526
}

src/Qossmic/ExceptionHandling/ExceptionHandlerInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,5 @@
3232
*/
3333
interface ExceptionHandlerInterface
3434
{
35-
/**
36-
* @param mixed $data
37-
*/
3835
public function getError(FormConfigInterface $formConfig, $data, \Throwable $e): ?Error;
3936
}

src/Qossmic/ExceptionHandling/ExceptionToErrorMapperTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ trait ExceptionToErrorMapperTrait
2626
{
2727
private ExceptionHandlerRegistry $exceptionHandlerRegistry;
2828

29-
/**
30-
* @param mixed $data
31-
*/
3229
private function mapExceptionToError(FormConfigInterface $formConfig, $data, \Throwable $e): ?Error
3330
{
3431
$exceptionHandlers = [];

src/Qossmic/ExceptionHandling/FormExceptionHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ public function __construct(ExceptionHandlerRegistry $exceptionHandlerRegistry,
3636
$this->translationDomain = $translationDomain;
3737
}
3838

39-
/**
40-
* @param mixed $data
41-
*/
4239
public function handleException(FormInterface $form, $data, \Throwable $e): void
4340
{
4441
if (null !== $error = $this->mapExceptionToError($form->getConfig(), $data, $e)) {

src/Qossmic/Instantiator/ObjectInstantiator.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,7 @@ public function instantiateObject(): ?object
7878

7979
abstract protected function isCompoundForm(): bool;
8080

81-
/**
82-
* @return mixed
83-
*/
8481
abstract protected function getData();
8582

86-
/**
87-
* @return mixed
88-
*/
8983
abstract protected function getArgumentData(string $argument);
9084
}

0 commit comments

Comments
 (0)