Skip to content

Commit c29eb43

Browse files
fix: feedback
1 parent fb31437 commit c29eb43

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Metadata/ApiProperty.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ final class ApiProperty
4848
* @param bool|null $push https://api-platform.com/docs/core/push-relations/
4949
* @param string|\Stringable|null $security https://api-platform.com/docs/core/security
5050
* @param string|\Stringable|null $securityPostDenormalize https://api-platform.com/docs/core/security/#executing-access-control-rules-after-denormalization
51-
* @param string[] $types the RDF types of this property
52-
* @param string[] $iris
53-
* @param LegacyType[] $builtinTypes
51+
* @param string[]|null $types the RDF types of this property
52+
* @param string[]|null $iris
53+
* @param LegacyType[]|null $builtinTypes
5454
* @param string|null $uriTemplate (experimental) whether to return the subRessource collection IRI instead of an iterable of IRI
5555
* @param string|null $property The property name
5656
* @param Context|Groups|Ignore|SerializedName|SerializedPath|MaxDepth|array<array-key, Context|Groups|Ignore|SerializedName|SerializedPath|MaxDepth> $serialize Serializer attributes
57-
* @param Type $nativeType The internal PHP type
57+
* @param Type|null $nativeType The internal PHP type
5858
*/
5959
public function __construct(
6060
private ?string $description = null,
@@ -507,7 +507,7 @@ public function withTypes(array|string $types = []): static
507507
/**
508508
* deprecated since 4.2, use "getNativeType" instead.
509509
*
510-
* @return LegacyType[]
510+
* @return LegacyType[]|null
511511
*/
512512
public function getBuiltinTypes(): ?array
513513
{
@@ -588,7 +588,7 @@ public function withExtraProperties(array $extraProperties = []): static
588588
/**
589589
* Gets IRI of this property.
590590
*
591-
* @return string[]
591+
* @return string[]|null
592592
*/
593593
public function getIris()
594594
{
@@ -611,7 +611,7 @@ public function withIris(string|array $iris): static
611611
/**
612612
* Whether to generate a skolem iri on anonymous resources.
613613
*
614-
* @return bool
614+
* @return bool|null
615615
*/
616616
public function getGenId()
617617
{

0 commit comments

Comments
 (0)