Skip to content

Commit 63697e7

Browse files
committed
Merge 3.1
2 parents 6a25bb3 + e2e59b0 commit 63697e7

File tree

15 files changed

+42
-0
lines changed

15 files changed

+42
-0
lines changed

src/Doctrine/Common/State/PersistProcessor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
109109

110110
/**
111111
* Checks if doctrine does not manage data automatically.
112+
*
113+
* @param mixed $data
112114
*/
113115
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
114116
{

src/Doctrine/Common/State/RemoveProcessor.php

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ public function onKernelView(ViewEvent $event): void
143143
/**
144144
* Tries to serialize data that are not API resources (e.g. the entrypoint or data returned by a custom controller).
145145
*
146+
* @param mixed $controllerResult
147+
*
146148
* @throws RuntimeException
147149
*/
148150
private function serializeRawData(ViewEvent $event, Request $request, $controllerResult): void

src/Util/IriHelper.php

Lines changed: 2 additions & 0 deletions
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

Lines changed: 4 additions & 0 deletions
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
{

0 commit comments

Comments
 (0)