Skip to content

Commit 86a0892

Browse files
authored
Merge pull request #48 from alfa6661/contract
use Repository contract as type hint
2 parents bd60bfa + ba73d70 commit 86a0892

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Closure;
66
use Countable;
7-
use Illuminate\Config\Repository;
7+
use Illuminate\Contracts\Config\Repository;
88
use Illuminate\View\Factory;
99

1010
class Menu implements Countable

src/MenuBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Nwidart\Menus;
44

55
use Countable;
6-
use Illuminate\Config\Repository;
6+
use Illuminate\Contracts\Config\Repository;
77
use Illuminate\View\Factory as ViewFactory;
88

99
class MenuBuilder implements Countable

0 commit comments

Comments
 (0)