fix phpstan
This commit is contained in:
parent
5da993d598
commit
b1fd78d2b5
@ -109,7 +109,7 @@ class Item implements ModelInterface
|
|||||||
/**
|
/**
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getTranscription()
|
public function getTranscription(): ?string
|
||||||
{
|
{
|
||||||
return $this->transcription;
|
return $this->transcription;
|
||||||
}
|
}
|
||||||
@ -117,7 +117,7 @@ class Item implements ModelInterface
|
|||||||
/**
|
/**
|
||||||
* @param string $transcription
|
* @param string $transcription
|
||||||
*/
|
*/
|
||||||
public function setTranscription(string $transcription)
|
public function setTranscription(string $transcription): void
|
||||||
{
|
{
|
||||||
$this->transcription = $transcription;
|
$this->transcription = $transcription;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user