Rename Mappable stuff to Geocode stuff, change dir structure

This commit is contained in:
brabli
2024-08-05 14:25:03 +01:00
parent a6c8c4cc0c
commit 8b662ebfa3
4 changed files with 20 additions and 21 deletions

View File

@@ -4,8 +4,8 @@ declare(strict_types=1);
namespace Pcm\GeocodeBundle\Tests;
use Pcm\GeocodeBundle\Entity\Interface\MappableInterface;
use Pcm\GeocodeBundle\Entity\Trait\MappableTrait;
use Pcm\GeocodeBundle\Interface\Entity\GeocodeInterface;
use Pcm\GeocodeBundle\Trait\Entity\GeocodeTrait;
use Pcm\GeocodeBundle\Exception\ApiErrorException;
use Pcm\GeocodeBundle\Exception\NoResultsFoundException;
use Pcm\GeocodeBundle\Model\GeoCoordinates;
@@ -69,11 +69,11 @@ final class GeocodeTest extends KernelTestCase
$this->assertIsFloat($geoCoordinates->longitude);
}
private function getMappableEntity(): MappableInterface
private function getGeocodableEntity(): GeocodeInterface
{
return new class implements MappableInterface
return new class implements GeocodeInterface
{
use MappableTrait;
use GeocodeTrait;
};
}
}