@@ -573,7 +573,7 @@ |
||
573 | 573 | /** |
574 | 574 | * Converts the list (li) content arrays to string. |
575 | 575 | * |
576 | - * @param array $listContentArray |
|
576 | + * @param string $listContentArray |
|
577 | 577 | * @return string |
578 | 578 | */ |
579 | 579 | protected function convertListContentArrayToString($listContentArray) |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | protected $listIsolatedDiffTags = array(); |
21 | 21 | |
22 | 22 | /** @var array */ |
23 | - protected $isolatedDiffTags = array ( |
|
23 | + protected $isolatedDiffTags = array( |
|
24 | 24 | 'ol' => '[[REPLACE_ORDERED_LIST]]', |
25 | 25 | 'ul' => '[[REPLACE_UNORDERED_LIST]]', |
26 | 26 | 'dl' => '[[REPLACE_DEFINITION_LIST]]', |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | $columns = $this->getArrayColumn($bestMatchPercentages, $key); |
344 | 344 | $thisBestMatches = array_filter( |
345 | 345 | $columns, |
346 | - function ($v) use ($percent) { |
|
346 | + function($v) use ($percent) { |
|
347 | 347 | return $v > $percent; |
348 | 348 | } |
349 | 349 | ); |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | $match = $word == self::$listPlaceHolder; |
591 | 591 | |
592 | 592 | $content[] = $match |
593 | - ? "<li>" . $this->convertListContentArrayToString($listContentArray['kids'][$nestedListCount]) . "</li>" |
|
593 | + ? "<li>".$this->convertListContentArrayToString($listContentArray['kids'][$nestedListCount])."</li>" |
|
594 | 594 | : $word; |
595 | 595 | |
596 | 596 | if ($match) { |
@@ -637,7 +637,7 @@ discard block |
||
637 | 637 | $content = $preContent; |
638 | 638 | } |
639 | 639 | |
640 | - $returnText[] = is_array($preContent) ? $preContent[0] . $content . $preContent[2] : $content; |
|
640 | + $returnText[] = is_array($preContent) ? $preContent[0].$content.$preContent[2] : $content; |
|
641 | 641 | } |
642 | 642 | // Return the result. |
643 | 643 | return implode(' ', $returnText); |
@@ -768,7 +768,7 @@ discard block |
||
768 | 768 | */ |
769 | 769 | protected function addListTypeWrapper($opening = true) |
770 | 770 | { |
771 | - return "<" . (!$opening ? "/" : '') . $this->listType . ">"; |
|
771 | + return "<".(!$opening ? "/" : '').$this->listType.">"; |
|
772 | 772 | } |
773 | 773 | |
774 | 774 | /** |