Skip to content

Commit

Permalink
Update screens.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored Jan 8, 2025
1 parent 4b5ea55 commit 102c0c0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/en/docs/screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,12 @@ php artisan orchid:screen Idea
An `Idea` file will be created in the `app/Orchid/Screens` directory with the following contents:

```php
namespace App\Http\Controllers\Screens;

use Illuminate\Http\Request;
use Orchid\Screen\Screen;

class Idea extends Screen
{
/**
* Fetch data to be displayed on the screen.
*
* @return array
*/
public function query() : array
{
Expand All @@ -44,8 +39,6 @@ class Idea extends Screen

/**
* The name of the screen is displayed in the header.
*
* @return string|null
*/
public function name(): ?string
{
Expand Down

0 comments on commit 102c0c0

Please sign in to comment.