Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix namespace and class name for LandingPageResource #188

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Oct 12, 2024

This pull request was created by Sweep to resolve the following request by @curtisdelicata:

Original Request

Cannot declare class App\Filament\App\Resources\LandingPagesResource\Pages\ListLandingPages, because the name is already in use

at app/Filament/App/Resources/LandingPageResource/Pages/ListLandingPages.php:9

Fix namespace and class name conflict in LandingPageResource

Description:

Resolve the class name conflict in the LandingPageResource directory. The error suggests that there's a mismatch between the namespace and the actual directory structure, as well as a potential duplicate class name.

Tasks:

  • Update app/Filament/App/Resources/LandingPageResource/Pages/ListLandingPages.php:
    • Correct the namespace from App\Filament\App\Resources\LandingPagesResource\Pages to App\Filament\App\Resources\LandingPageResource\Pages
    • Change the class name from ListLandingPagess to ListLandingPages
  • Update the protected static string $resource property to use the correct resource class name
  • Ensure all references to this class throughout the pro...

Continue chatting at https://sweep-chat-demo.vercel.app/c/3b60500f-df21-4149-b412-da262379c801.

Purpose

This pull request fixes the namespace and class name for the LandingPageResource in the Filament admin panel.

Description

The changes made in this pull request are:

  1. Corrected the namespace from App\Filament\App\Resources\LandingPagesResource\Pages to App\Filament\App\Resources\LandingPageResource\Pages.
  2. Corrected the class name from ListLandingPagess to ListLandingPages.

Summary

  • Corrected the namespace for LandingPageResource in app/Filament/App/Resources/LandingPageResource/Pages/ListLandingPages.php.
  • Corrected the class name from ListLandingPagess to ListLandingPages.

@curtisdelicata curtisdelicata merged commit 2a6e847 into main Oct 12, 2024
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant