Skip to content

Commit

Permalink
fixed blob getter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed Jan 16, 2024
1 parent 8b9e9b6 commit 50cab46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EntityGeneratorBundle/Doctrine/Getter.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ public function toString(string $nlLeftPad = ''): string
$response[] = ' }';
$response[] = '';
}

$response[] = ' rewind($this->' . $this->propertyName . ');';
$response[] = '';
$response[] = ' /** @var string $response */';
$response[] = ' $response = stream_get_contents($this->' . $this->propertyName . ');';
$response[] = ' rewind($this->' . $this->propertyName . ');';
$response[] = '';
$response[] = ' return $response;';
} else {
Expand Down

0 comments on commit 50cab46

Please sign in to comment.