Skip to content

Commit

Permalink
IBX-8534: Replaced deprecated path with inputUri (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Dec 2, 2024
1 parent 9547134 commit fd25b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif

return new Value(
[
'path' => $filePath,
'inputUri' => $filePath,
'fileSize' => filesize($filePath),
'fileName' => basename($filePath),
'alternativeText' => $this->getFaker()->text,
Expand All @@ -62,7 +62,7 @@ public function parseFromString(string $value)

return new Value(
[
'path' => $filePath,
'inputUri' => $filePath,
'fileSize' => filesize($value),
'fileName' => basename($value),
'alternativeText' => basename($value),
Expand Down

0 comments on commit fd25b34

Please sign in to comment.