Skip to content

Commit e2e59b0

Browse files
committed
cs: php-cs-fixer mixed param phpdoc
1 parent 3e3595d commit e2e59b0

File tree

15 files changed

+42
-0
lines changed

15 files changed

+42
-0
lines changed

src/Doctrine/Common/State/PersistProcessor.php

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
111111

112112
/**
113113
* Checks if doctrine does not manage data automatically.
114+
*
115+
* @param mixed $data
114116
*/
115117
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
116118
{

src/Doctrine/Common/State/RemoveProcessor.php

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
3939

4040
/**
4141
* Gets the Doctrine object manager associated with given data.
42+
*
43+
* @param mixed $data
4244
*/
4345
private function getManager($data): ?DoctrineObjectManager
4446
{

src/Doctrine/Odm/Filter/AbstractFilter.php

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function apply(Builder $aggregationBuilder, string $resourceClass, Operat
5252

5353
/**
5454
* Passes a property through the filter.
55+
*
56+
* @param mixed $value
5557
*/
5658
abstract protected function filterProperty(string $property, $value, Builder $aggregationBuilder, string $resourceClass, Operation $operation = null, array &$context = []): void;
5759

src/Doctrine/Odm/Filter/DateFilter.php

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ protected function filterProperty(string $property, $values, Builder $aggregatio
194194

195195
/**
196196
* Adds the match stage according to the chosen null management.
197+
*
198+
* @param mixed $value
197199
*/
198200
private function addMatch(Builder $aggregationBuilder, string $field, string $operator, $value, string $nullManagement = null): void
199201
{

src/Doctrine/Orm/Filter/AbstractFilter.php

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public function apply(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $q
4646

4747
/**
4848
* Passes a property through the filter.
49+
*
50+
* @param mixed $value
4951
*/
5052
abstract protected function filterProperty(string $property, $value, QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, Operation $operation = null, array $context = []): void;
5153

src/GraphQl/ExecutorInterface.php

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ interface ExecutorInterface
2525
{
2626
/**
2727
* @see http://webonyx.github.io/graphql-php/executing-queries/#using-facade-method
28+
*
29+
* @param mixed $source
2830
*/
2931
public function executeQuery(Schema $schema, $source, mixed $rootValue = null, mixed $context = null, array $variableValues = null, string $operationName = null, callable $fieldResolver = null, array $validationRules = null): ExecutionResult;
3032
}

src/Metadata/Tests/Property/Factory/SerializerPropertyMetadataFactoryTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ public static function groupsProvider(): array
4242

4343
/**
4444
* @dataProvider groupsProvider
45+
*
46+
* @param mixed $readGroups
47+
* @param mixed $writeGroups
4548
*/
4649
public function testCreate($readGroups, $writeGroups): void
4750
{

src/Symfony/EventListener/SerializeListener.php

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ public function onKernelView(ViewEvent $event): void
113113
/**
114114
* Tries to serialize data that are not API resources (e.g. the entrypoint or data returned by a custom controller).
115115
*
116+
* @param mixed $controllerResult
117+
*
116118
* @throws RuntimeException
117119
*/
118120
private function serializeRawData(ViewEvent $event, Request $request, $controllerResult): void

src/Util/IriHelper.php

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public static function parseIri(string $iri, string $pageParameterName): array
5454

5555
/**
5656
* Gets a collection IRI for the given parameters.
57+
*
58+
* @param mixed $urlGenerationStrategy
5759
*/
5860
public static function createIri(array $parts, array $parameters, string $pageParameterName = null, float $page = null, $urlGenerationStrategy = UrlGeneratorInterface::ABS_PATH): string
5961
{

tests/Behat/DoctrineContext.php

+4
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ public function thereAreFooObjectsWithFakeNames(int $nb): void
339339

340340
/**
341341
* @Given there are :nb fooDummy objects with fake names
342+
*
343+
* @param mixed $nb
342344
*/
343345
public function thereAreFooDummyObjectsWithFakeNames($nb): void
344346
{
@@ -1775,6 +1777,8 @@ public function thereIsADummyDtoCustom(): void
17751777

17761778
/**
17771779
* @Given there are :nb DummyDtoCustom
1780+
*
1781+
* @param mixed $nb
17781782
*/
17791783
public function thereAreNbDummyDtoCustom($nb): void
17801784
{

tests/Fixtures/TestBundle/Serializer/Normalizer/OverrideDocumentationNormalizer.php

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function __construct(private readonly NormalizerInterface $documentationN
2828

2929
/**
3030
* @param mixed|null $format
31+
* @param mixed $object
3132
*
3233
* @throws ExceptionInterface
3334
*/
@@ -49,6 +50,7 @@ public function normalize($object, $format = null, array $context = [])
4950

5051
/**
5152
* @param mixed|null $format
53+
* @param mixed $data
5254
*/
5355
public function supportsNormalization($data, $format = null): bool
5456
{

tests/Fixtures/TestBundle/State/OperationResourceProcessor.php

+4
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
6969

7070
/**
7171
* Gets the Doctrine object manager associated with given data.
72+
*
73+
* @param mixed $data
7274
*/
7375
private function getManager($data): ?DoctrineObjectManager
7476
{
@@ -77,6 +79,8 @@ private function getManager($data): ?DoctrineObjectManager
7779

7880
/**
7981
* Checks if doctrine does not manage data automatically.
82+
*
83+
* @param mixed $data
8084
*/
8185
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
8286
{

tests/State/Pagination/ArrayPaginatorTest.php

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ class ArrayPaginatorTest extends TestCase
2323
{
2424
/**
2525
* @dataProvider initializeProvider
26+
*
27+
* @param mixed $firstResult
28+
* @param mixed $maxResults
29+
* @param mixed $currentItems
30+
* @param mixed $totalItems
31+
* @param mixed $currentPage
32+
* @param mixed $lastPage
2633
*/
2734
public function testInitialize(array $results, $firstResult, $maxResults, $currentItems, $totalItems, $currentPage, $lastPage): void
2835
{

tests/Symfony/Bundle/DependencyInjection/ConfigurationTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ public static function invalidHttpStatusCodeProvider(): array
232232

233233
/**
234234
* @dataProvider invalidHttpStatusCodeProvider
235+
*
236+
* @param mixed $invalidHttpStatusCode
235237
*/
236238
public function testExceptionToStatusConfigWithInvalidHttpStatusCode($invalidHttpStatusCode): void
237239
{
@@ -261,6 +263,8 @@ public static function invalidHttpStatusCodeValueProvider(): array
261263

262264
/**
263265
* @dataProvider invalidHttpStatusCodeValueProvider
266+
*
267+
* @param mixed $invalidHttpStatusCodeValue
264268
*/
265269
public function testExceptionToStatusConfigWithInvalidHttpStatusCodeValue($invalidHttpStatusCodeValue): void
266270
{

tests/Symfony/Bundle/Test/ClientTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public function testDefaultHeaders(): void
9494

9595
/**
9696
* @dataProvider authBasicProvider
97+
*
98+
* @param mixed $basic
9799
*/
98100
public function testAuthBasic($basic): void
99101
{

0 commit comments

Comments
 (0)