Rename offering to offer
This commit is contained in:
parent
a7b4bf09e4
commit
f54f663fb0
12 changed files with 90 additions and 59 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue