Skip to content

Commit

Permalink
refactor: change the directory of the store profile action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrch committed Mar 31, 2024
1 parent e5b2903 commit fe9eb38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace App\Actions\Http\Api\List\ExternalProfile;
namespace App\Actions\Models\List\ExternalProfile;

use App\Actions\Http\Api\StoreAction;
use App\Enums\Models\List\AnimeWatchStatus;
Expand All @@ -18,9 +18,9 @@
use Illuminate\Support\Facades\Log;

/**
* Class StoreExternalProfileListAction.
* Class StoreExternalProfileAction.
*/
class StoreExternalProfileListAction
class StoreExternalProfileAction
{
/**
* Store external profile and its entries.
Expand Down
6 changes: 3 additions & 3 deletions app/Http/Controllers/Api/List/ExternalProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
use App\Actions\Http\Api\DestroyAction;
use App\Actions\Http\Api\ForceDeleteAction;
use App\Actions\Http\Api\IndexAction;
use App\Actions\Http\Api\List\ExternalProfile\StoreExternalProfileListAction;
use App\Actions\Http\Api\RestoreAction;
use App\Actions\Http\Api\ShowAction;
use App\Actions\Http\Api\UpdateAction;
use App\Actions\Models\List\ExternalProfile\StoreExternalProfileAction;
use App\Enums\Models\List\ExternalProfileVisibility;
use App\Features\AllowExternalProfileManagement;
use App\Http\Api\Query\Query;
Expand Down Expand Up @@ -73,10 +73,10 @@ public function index(IndexRequest $request, IndexAction $action): ExternalProfi
* Store a newly created resource.
*
* @param StoreRequest $request
* @param StoreExternalProfileListAction $action
* @param StoreExternalProfileAction $action
* @return ExternalProfileResource
*/
public function store(StoreRequest $request, StoreExternalProfileListAction $action): ExternalProfileResource
public function store(StoreRequest $request, StoreExternalProfileAction $action): ExternalProfileResource
{
$validated = array_merge(
$request->validated(),
Expand Down
2 changes: 1 addition & 1 deletion app/Models/List/ExternalProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
*
* @property int $profile_id
* @property Collection<int, ExternalEntry> $externalentries
* @property string $name
* @property ExternalProfileSite $site
* @property int|null $user_id
* @property User|null $user
* @property string $username
* @property ExternalProfileVisibility $visibility
*/
class ExternalProfile extends BaseModel
Expand Down

0 comments on commit fe9eb38

Please sign in to comment.