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