File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -25,25 +25,6 @@ class PublishCommand extends Command
25
25
*/
26
26
protected $ description = 'Publish the Debugbar assets ' ;
27
27
28
- /**
29
- * The asset publisher instance.
30
- *
31
- * @var \Illuminate\Foundation\AssetPublisher
32
- */
33
- protected $ assetPublisher ;
34
-
35
- /**
36
- * Create a new Publish command
37
- *
38
- * @param \Illuminate\Foundation\AssetPublisher $assetPublisher
39
- */
40
- public function __construct ($ assetPublisher )
41
- {
42
- parent ::__construct ();
43
-
44
- $ this ->assetPublisher = $ assetPublisher ;
45
- }
46
-
47
28
/**
48
29
* Execute the console command.
49
30
*
Original file line number Diff line number Diff line change @@ -99,9 +99,7 @@ function ($app) {
99
99
100
100
$ this ->app ['command.debugbar.publish ' ] = $ this ->app ->share (
101
101
function ($ app ) {
102
- //Make sure the asset publisher is registered.
103
- $ app ->register ('Illuminate\Foundation\Providers\PublisherServiceProvider ' );
104
- return new Console \PublishCommand ($ app ['asset.publisher ' ]);
102
+ return new Console \PublishCommand ();
105
103
}
106
104
);
107
105
You can’t perform that action at this time.
0 commit comments