@@ -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]]', |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | $columns = $this->getArrayColumn($bestMatchPercentages, $key); |
358 | 358 | $thisBestMatches = array_filter( |
359 | 359 | $columns, |
360 | - function ($v) use ($percent) { |
|
360 | + function($v) use ($percent) { |
|
361 | 361 | return $v > $percent; |
362 | 362 | } |
363 | 363 | ); |
@@ -605,7 +605,7 @@ discard block |
||
605 | 605 | $match = $word == self::$listPlaceHolder; |
606 | 606 | |
607 | 607 | $content[] = $match |
608 | - ? "<li>" . $this->convertListContentArrayToString($listContentArray['kids'][$nestedListCount]) . "</li>" |
|
608 | + ? "<li>".$this->convertListContentArrayToString($listContentArray['kids'][$nestedListCount])."</li>" |
|
609 | 609 | : $word; |
610 | 610 | |
611 | 611 | if ($match) { |
@@ -652,7 +652,7 @@ discard block |
||
652 | 652 | $content = $preContent; |
653 | 653 | } |
654 | 654 | |
655 | - $returnText[] = is_array($preContent) ? $preContent[0] . $content . $preContent[2] : $content; |
|
655 | + $returnText[] = is_array($preContent) ? $preContent[0].$content.$preContent[2] : $content; |
|
656 | 656 | } |
657 | 657 | // Return the result. |
658 | 658 | return implode(' ', $returnText); |
@@ -787,7 +787,7 @@ discard block |
||
787 | 787 | if ($opening) { |
788 | 788 | return $this->newParentTag ?: $this->oldParentTag; |
789 | 789 | } else { |
790 | - return "<" . (!$opening ? "/" : '') . $this->listType . ">"; |
|
790 | + return "<".(!$opening ? "/" : '').$this->listType.">"; |
|
791 | 791 | } |
792 | 792 | } |
793 | 793 |