Passed
Pull Request — master (#1)
by
unknown
03:38
created
src/Command/PurgeSiteCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.