Completed
Push — master ( 63b79a...6fd4c0 )
by Sebastian
03:22
created
src/Seboettg/CiteProc/Rendering/Name/Names.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         /** @var \SimpleXMLElement $attribute */
128 128
         foreach ($node->attributes() as $attribute) {
129 129
             if ("variable" === $attribute->getName()) {
130
-                $this->variables = new ArrayList(explode(" ", (string)$attribute));
130
+                $this->variables = new ArrayList(explode(" ", (string) $attribute));
131 131
                 break;
132 132
             }
133 133
         }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                     $str .= $this->label->render($data);
175 175
                 }
176 176
                 $vars = $this->variables->toArray();
177
-                $vars = array_filter($vars, function ($value) {
177
+                $vars = array_filter($vars, function($value) {
178 178
                     return !($value === "editor" || $value === "translator");
179 179
                 });
180 180
                 $this->variables->setArray($vars);
@@ -308,12 +308,12 @@  discard block
 block discarded – undo
308 308
             return false;
309 309
         }
310 310
 
311
-        array_walk($editor, function ($name, $key) use ($translator, &$same) {
311
+        array_walk($editor, function($name, $key) use ($translator, &$same) {
312 312
             $family1 = $name->family;
313 313
             $family2 = $translator[$key]->family;
314 314
             $same = $same && ($family1 === $family2);
315 315
         });
316 316
 
317
-        return (bool)$same;
317
+        return (bool) $same;
318 318
     }
319 319
 }
320 320
\ No newline at end of file
Please login to merge, or discard this patch.