Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-13 13:14:54 +00:00
committed by StyleCI Bot
parent 857d3004eb
commit 88f3df2180
161 changed files with 4729 additions and 3879 deletions

View File

@@ -2,11 +2,11 @@
namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\Http\Controllers\Client\helpdesk\UnAuthController;
use Illuminate\Console\Command;
class CloseWork extends Command {
class CloseWork extends Command
{
/**
* The name and signature of the console command.
*
@@ -26,7 +26,8 @@ class CloseWork extends Command {
*
* @return void
*/
public function __construct() {
public function __construct()
{
parent::__construct();
}
@@ -35,15 +36,15 @@ class CloseWork extends Command {
*
* @return mixed
*/
public function handle() {
public function handle()
{
if (env('DB_INSTALL') == 1) {
$PhpMailController = new \App\Http\Controllers\Common\PhpMailController();
$controller = new UnAuthController($PhpMailController);
$controller->autoCloseTickets();
loging('ticket-close-workflow', 'Close ticket workflow executed','info');
loging('ticket-close-workflow', 'Close ticket workflow executed', 'info');
//\Log::info('Close ticket workflow executed');
$this->info('Close ticket workflow executed');
}
}
}