Commit f000dff4 authored by Viral Solani's avatar Viral Solani

resolve issues by larastan

parent c7cb8871
...@@ -10,6 +10,7 @@ use Illuminate\Support\Facades\File; ...@@ -10,6 +10,7 @@ use Illuminate\Support\Facades\File;
use PDOException; use PDOException;
use Symfony\Component\Console\Helper\SymfonyQuestionHelper; use Symfony\Component\Console\Helper\SymfonyQuestionHelper;
use Symfony\Component\Console\Question\Question; use Symfony\Component\Console\Question\Question;
use Exception;
/** /**
* Class InstallAppCommand. * Class InstallAppCommand.
...@@ -39,6 +40,36 @@ class InstallAppCommand extends Command ...@@ -39,6 +40,36 @@ class InstallAppCommand extends Command
*/ */
protected $files; protected $files;
/**
* host for the database
*
*/
protected $host;
/**
* port for the database
*
*/
protected $port;
/**
* Database name
*
*/
protected $database;
/**
* Username of database
*
*/
protected $username;
/**
* Password for the Database.
*
*/
protected $password;
/** /**
* InstallAppCommand constructor. * InstallAppCommand constructor.
* *
...@@ -210,7 +241,9 @@ class InstallAppCommand extends Command ...@@ -210,7 +241,9 @@ class InstallAppCommand extends Command
} }
/** /**
* @param $database * Create the Database
*
* @param Object $database
*/ */
protected function createDatabase($database) protected function createDatabase($database)
{ {
...@@ -237,7 +270,9 @@ class InstallAppCommand extends Command ...@@ -237,7 +270,9 @@ class InstallAppCommand extends Command
} }
/** /**
* @param $database * Dump the DB
*
* @param Object $database
*/ */
protected function dumpDB($database) protected function dumpDB($database)
{ {
...@@ -258,7 +293,9 @@ class InstallAppCommand extends Command ...@@ -258,7 +293,9 @@ class InstallAppCommand extends Command
} }
/** /**
* @param $database * Migrate Tables
*
* @param Object $database
*/ */
protected function migrateTables($database) protected function migrateTables($database)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment