Rename offering to offer

This commit is contained in:
Jannis Portmann 2022-01-19 19:59:35 +01:00
parent a7b4bf09e4
commit f54f663fb0
12 changed files with 90 additions and 59 deletions

View file

@ -2,7 +2,7 @@
namespace App\Service;
use App\Entity\Offering;
use App\Entity\Offer;
use Psr\Log\LoggerInterface;
use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
@ -18,7 +18,7 @@ class OfferPhotoHelper
$this->filesystem = new Filesystem();
}
public function uploadOfferPhoto(string $photoDir, UploadedFile $photo, Offering $offer)
public function uploadOfferPhoto(string $photoDir, UploadedFile $photo, Offer $offer)
{
$filename = uniqid().'.'.$photo->guessExtension();
try {