Passed
Branch dev (b7aeac)
by Dispositif
03:10
created
src/Domain/Models/Wiki/AbstractStrictWikiTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
     protected function isValidParamName($name): bool
152 152
     {
153 153
         if (is_int($name)) {
154
-            $name = (string)$name;
154
+            $name = (string) $name;
155 155
         }
156 156
 
157 157
         // that parameter exists in template ?
Please login to merge, or discard this patch.
src/Domain/Models/Wiki/AbstractWikiTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
         // Gestion alias
271 271
         if (!$this->isValidParamName($name)) {
272 272
             // hack : 1 => "ouvrage collectif"
273
-            $name = (string)$name;
273
+            $name = (string) $name;
274 274
             $this->log[] = "parameter $name not found";
275 275
 
276 276
             // todo keep there
Please login to merge, or discard this patch.