Page MenuHomeDevCentral

No OneTemporary

diff --git a/app/Console/Commands/PhabricatorGetProjectsMap.php b/app/Console/Commands/PhabricatorGetProjectsMap.php
index 122c765..2af7b39 100644
--- a/app/Console/Commands/PhabricatorGetProjectsMap.php
+++ b/app/Console/Commands/PhabricatorGetProjectsMap.php
@@ -1,51 +1,51 @@
<?php
namespace Nasqueron\Notifications\Console\Commands;
use Illuminate\Console\Command;
use Storage;
use Nasqueron\Notifications\Phabricator\ProjectsMap;
use Nasqueron\Notifications\Services;
class PhabricatorGetProjectsMap extends Command {
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'phabricator:projectsmap';
/**
* The console command description.
*
* @var string
*/
- protected $description = 'Regerate the projects map for each Phabricator instances';
+ protected $description = 'Regenerate the projects map for each Phabricator instances';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct() {
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle() {
foreach (Services::getForGate('Phabricator') as $service) {
$this->info("Querying projects map for " . $service->instance);
$map = ProjectsMap::fetch($service->instance);
$map->saveToCache();
$this->table(
['PHID', 'Project name'],
$map->toArray()
);
}
}
}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 17:55 (9 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260673
Default Alt Text
(1 KB)

Event Timeline