Skip to content

Commit b03a9a1

Browse files
author
Vitaliy
authored
Update Sample.php
1 parent fdec600 commit b03a9a1

File tree

1 file changed

+1
-2
lines changed
  • testData/actions/generation/generator/DataModelGenerator/generateDataModel

1 file changed

+1
-2
lines changed

testData/actions/generation/generator/DataModelGenerator/generateDataModel/Sample.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public function setIdProperty(?int $idProperty): void
3030
*/
3131
public function getSampleProperty(): ?string
3232
{
33-
return $this->getData(self::SAMPLE_PROPERTY) === null ? null
34-
: $this->getData(self::SAMPLE_PROPERTY);
33+
return $this->getData(self::SAMPLE_PROPERTY);
3534
}
3635

3736
/**

0 commit comments

Comments
 (0)