Move models to their own subdirectory

This commit is contained in:
Jonny Barnes 2017-12-19 16:00:42 +00:00
parent 2c5b0f3ab5
commit 2a0d188313
67 changed files with 82 additions and 86 deletions

View file

@ -2,7 +2,7 @@
namespace App\Services;
use App\Note;
use App\Models\Note;
class ActivityStreamsService
{

View file

@ -4,12 +4,11 @@ declare(strict_types=1);
namespace App\Services;
use App\Tag;
use App\Bookmark;
use Ramsey\Uuid\Uuid;
use GuzzleHttp\Client;
use Illuminate\Http\Request;
use App\Jobs\ProcessBookmark;
use App\Models\{Bookmark, Tag};
use Spatie\Browsershot\Browsershot;
use App\Jobs\SyndicateBookmarkToTwitter;
use App\Jobs\SyndicateBookmarkToFacebook;

View file

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace App\Services;
use App\Like;
use App\Models\Like;
use App\Jobs\ProcessLike;
class LikeService

View file

@ -2,8 +2,7 @@
namespace App\Services\Micropub;
use App\Note;
use App\Media;
use App\Models\{Media, Note};
use Illuminate\Database\Eloquent\ModelNotFoundException;
class UpdateService

View file

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace App\Services;
use App\{Media, Note, Place};
use App\Models\{Media, Note, Place};
use App\Jobs\{SendWebMentions, SyndicateNoteToFacebook, SyndicateNoteToTwitter};
class NoteService

View file

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace App\Services;
use App\Place;
use App\Models\Place;
use Phaza\LaravelPostgis\Geometries\Point;
class PlaceService