Skip to content

Commit 45916ed

Browse files
fix: native typehint
1 parent c29eb43 commit 45916ed

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/Metadata/ApiProperty.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,10 +610,8 @@ public function withIris(string|array $iris): static
610610

611611
/**
612612
* Whether to generate a skolem iri on anonymous resources.
613-
*
614-
* @return bool|null
615613
*/
616-
public function getGenId()
614+
public function getGenId(): ?bool
617615
{
618616
return $this->genId;
619617
}

src/Metadata/HttpOperation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ class HttpOperation extends Operation
3030
public const METHOD_OPTIONS = 'OPTIONS';
3131

3232
/** @var array<int|string, string|string[]>|null */
33-
protected ?array $formats;
33+
protected $formats;
3434
/** @var array<int|string, string|string[]>|null */
35-
protected ?array $inputFormats;
35+
protected $inputFormats;
3636
/** @var array<int|string, string|string[]>|null */
37-
protected ?array $outputFormats;
37+
protected $outputFormats;
3838

3939
/**
4040
* @param string[]|null $types the RDF types of this property

0 commit comments

Comments
 (0)