Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 918c798

Browse filesBrowse files
Avoid class name conflict (#10470)
1 parent 0ef7bdd commit 918c798
Copy full SHA for 918c798

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎container.md

Copy file name to clipboardExpand all lines: container.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ In addition to the `Storage` attribute, Laravel offers `Auth`, `Cache`, `Config`
298298

299299
namespace App\Http\Controllers;
300300

301+
use App\Contracts\UserRepository;
301302
use App\Models\Photo;
302-
use App\Contracts\Repository;
303303
use App\Repositories\DatabaseRepository;
304304
use Illuminate\Container\Attributes\Auth;
305305
use Illuminate\Container\Attributes\Cache;
@@ -323,7 +323,7 @@ class PhotoController extends Controller
323323
#[Config('app.timezone')] protected string $timezone,
324324
#[Context('uuid')] protected string $uuid,
325325
#[DB('mysql')] protected Connection $connection,
326-
#[Give(DatabaseRepository::class)] protected Repository $users,
326+
#[Give(DatabaseRepository::class)] protected UserRepository $users,
327327
#[Log('daily')] protected LoggerInterface $log,
328328
#[RouteParameter('photo')] protected Photo $photo,
329329
#[Tag('reports')] protected iterable $reports,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.