@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
8 | 8 | use Incapsula\Api; |
9 | 9 | |
10 | -class PurgeSiteCommand extends AbstractCommand{ |
|
10 | +class PurgeSiteCommand extends AbstractCommand { |
|
11 | 11 | /** |
12 | 12 | * @var string |
13 | 13 | */ |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | $this |
24 | 24 | ->setName('site:purge') |
25 | 25 | ->setDescription('Purge URLs from a given site id') |
26 | - ->addArgument('site-id',InputArgument::REQUIRED,'incapsula id of site to purge') |
|
27 | - ->addArgument('resource-pattern',InputArgument::OPTIONAL,'string to match in the URL to be purged',"") |
|
26 | + ->addArgument('site-id', InputArgument::REQUIRED, 'incapsula id of site to purge') |
|
27 | + ->addArgument('resource-pattern', InputArgument::OPTIONAL, 'string to match in the URL to be purged', "") |
|
28 | 28 | ; |
29 | 29 | } |
30 | 30 | /** |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | protected function execute(InputInterface $input, OutputInterface $output) |
49 | 49 | { |
50 | - $this->client->sites()->purgeCache($this->siteId,$this->resourcePattern); |
|
50 | + $this->client->sites()->purgeCache($this->siteId, $this->resourcePattern); |
|
51 | 51 | return 0; |
52 | 52 | } |
53 | 53 | } |
54 | 54 | \ No newline at end of file |