Passed
Push — master ( 5212d6...22a324 )
by Thierry
03:24
created
src/Plugin/Response/JQuery/DomSelector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
         $sContext = trim($sContext, " \t");
68 68
         $this->aCalls = [];
69 69
 
70
-        if(!$sPath)
70
+        if (!$sPath)
71 71
         {
72 72
             $this->sPath = "$jQueryNs(this)"; // If an empty selector is given, use javascript "this" instead
73 73
         }
74
-        elseif(($sContext))
74
+        elseif (($sContext))
75 75
         {
76 76
             $this->sPath = "$jQueryNs('" . $sPath . "', $jQueryNs('" . $sContext . "'))";
77 77
         }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     public function getScript(): string
146 146
     {
147 147
         $sScript = $this->sPath;
148
-        if(count($this->aCalls) > 0)
148
+        if (count($this->aCalls) > 0)
149 149
         {
150 150
             $sScript .= '.' . implode('.', $this->aCalls);
151 151
         }
Please login to merge, or discard this patch.