Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
6b4da4d6
Commit
6b4da4d6
authored
Nov 26, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing unused class property
parent
95745ad9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
InstallCommand.php
Modules/Core/Console/InstallCommand.php
+1
-9
CoreServiceProvider.php
Modules/Core/Providers/CoreServiceProvider.php
+0
-1
No files found.
Modules/Core/Console/InstallCommand.php
View file @
6b4da4d6
...
...
@@ -6,7 +6,6 @@ use Illuminate\Contracts\Foundation\Application;
use
Illuminate\Filesystem\Filesystem
;
use
Illuminate\Support\Facades\Hash
;
use
Modules\Core\Services\Composer
;
use
Modules\User\Repositories\UserRepository
;
class
InstallCommand
extends
Command
{
...
...
@@ -24,11 +23,6 @@ class InstallCommand extends Command
*/
protected
$description
=
'Install Asgard CMS'
;
/**
* @var UserRepository
*/
private
$user
;
/**
* @var Filesystem
*/
...
...
@@ -45,15 +39,13 @@ class InstallCommand extends Command
/**
* Create a new command instance.
*
* @param UserRepository $user
* @param Filesystem $finder
* @param Application $app
* @param Composer $composer
*/
public
function
__construct
(
$user
,
Filesystem
$finder
,
Application
$app
,
Composer
$composer
)
public
function
__construct
(
Filesystem
$finder
,
Application
$app
,
Composer
$composer
)
{
parent
::
__construct
();
$this
->
user
=
$user
;
$this
->
finder
=
$finder
;
$this
->
app
=
$app
;
$this
->
composer
=
$composer
;
...
...
Modules/Core/Providers/CoreServiceProvider.php
View file @
6b4da4d6
...
...
@@ -88,7 +88,6 @@ class CoreServiceProvider extends ServiceProvider
{
$this
->
app
->
bindShared
(
'command.asgard.install'
,
function
(
$app
)
{
return
new
InstallCommand
(
$app
[
'Modules\User\Repositories\UserRepository'
],
$app
[
'files'
],
$app
,
new
Composer
(
$app
[
'files'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment