Passed
Push — master ( 9180f1...3c41f4 )
by Sebastian
07:32 queued 03:42
created
src/Context.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -430,7 +430,7 @@
 block discarded – undo
430 430
 
431 431
     public function getCitationItemById($id)
432 432
     {
433
-        return $this->citationItems->filter(function ($item) use ($id) {
433
+        return $this->citationItems->filter(function($item) use ($id) {
434 434
             return $item->id === $id;
435 435
         })->current();
436 436
     }
Please login to merge, or discard this patch.
src/Rendering/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
                     );
160 160
                 }
161 161
                 list($from, $to) = $ranges;
162
-                return $from . "–" . $to;
162
+                return $from."–".$to;
163 163
             }
164 164
         }
165 165
         return $page;
Please login to merge, or discard this patch.
src/Terms/Locator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public static function mapLocatorLabelToRenderVariable($locatorTerm)
40 40
     {
41 41
         if ($locatorTerm instanceof Locator) {
42
-            $locatorTerm = (string)$locatorTerm;
42
+            $locatorTerm = (string) $locatorTerm;
43 43
         }
44 44
         return
45 45
             array_key_exists($locatorTerm, self::LABEL_TO_VARIABLE_MAP) ?
Please login to merge, or discard this patch.
src/Rendering/Name/Name.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
                         $resultNames[] = $this->formatName($name, $rank);
358 358
                     }
359 359
                     break;
360
-                 /* “partial-first” - as “partial-each”, but substitution is limited to the first name of the name
360
+                    /* “partial-first” - as “partial-each”, but substitution is limited to the first name of the name
361 361
                 variable. */
362 362
                 case SubsequentAuthorSubstituteRule::PARTIAL_FIRST:
363 363
                     if ($rank === 0) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
                     }
372 372
                     break;
373 373
 
374
-                 /* “complete-each” - requires a complete match like “complete-all”, but now the value of
374
+                    /* “complete-each” - requires a complete match like “complete-all”, but now the value of
375 375
                 subsequent-author-substitute substitutes for each rendered name. */
376 376
                 case SubsequentAuthorSubstituteRule::COMPLETE_EACH:
377 377
                     try {
Please login to merge, or discard this patch.