Some small fixes needed for the tests

This commit is contained in:
Jonny Barnes 2020-06-13 17:26:59 +01:00
parent 961b7d1acf
commit b0ad1d272c
9 changed files with 780 additions and 645 deletions

View file

@ -10,7 +10,7 @@ use App\Services\PlaceService;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\View\View;
use Phaza\LaravelPostgis\Geometries\Point;
use MStaack\LaravelPostgis\Geometries\Point;
class PlacesController extends Controller
{

View file

@ -17,7 +17,7 @@ use Intervention\Image\Exception\NotReadableException;
use Intervention\Image\ImageManager;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Phaza\LaravelPostgis\Geometries\Point;
use MStaack\LaravelPostgis\Geometries\Point;
use Ramsey\Uuid\Uuid;
class MicropubController extends Controller

View file

@ -36,10 +36,10 @@ use MStaack\LaravelPostgis\Geometries\Point;
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Note[] $notes
* @property-read int|null $notes_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place findSimilarSlugs($attribute, $config, $slug)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place near(\Phaza\LaravelPostgis\Geometries\Point $point, $distance = 1000)
* @method static \Phaza\LaravelPostgis\Eloquent\Builder|\App\Models\Place newModelQuery()
* @method static \Phaza\LaravelPostgis\Eloquent\Builder|\App\Models\Place newQuery()
* @method static \Phaza\LaravelPostgis\Eloquent\Builder|\App\Models\Place query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place near(\MStaack\LaravelPostgis\Geometries\Point $point, $distance = 1000)
* @method static \MStaack\LaravelPostgis\Eloquent\Builder|\App\Models\Place newModelQuery()
* @method static \MStaack\LaravelPostgis\Eloquent\Builder|\App\Models\Place newQuery()
* @method static \MStaack\LaravelPostgis\Eloquent\Builder|\App\Models\Place query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Place whereExternalURL($url)

View file

@ -6,7 +6,7 @@ namespace App\Services;
use App\Models\Place;
use Illuminate\Support\Arr;
use Phaza\LaravelPostgis\Geometries\Point;
use MStaack\LaravelPostgis\Geometries\Point;
class PlaceService
{