Completed
Push — master ( d60692...4c4f45 )
by Lars
03:02
created
src/Stringy.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1579,9 +1579,9 @@  discard block
 block discarded – undo
1579 1579
       }
1580 1580
 
1581 1581
       $pos_end = min(
1582
-                     UTF8::strpos($text, ' ', $l, $this->encoding),
1583
-                     UTF8::strpos($text, '.', $l, $this->encoding)
1584
-                 ) - $pos_start;
1582
+                      UTF8::strpos($text, ' ', $l, $this->encoding),
1583
+                      UTF8::strpos($text, '.', $l, $this->encoding)
1584
+                  ) - $pos_start;
1585 1585
 
1586 1586
       if (!$pos_end || $pos_end <= 0) {
1587 1587
         $extract = $ellipsis . ltrim(
@@ -1621,9 +1621,9 @@  discard block
 block discarded – undo
1621 1621
 
1622 1622
       if ($pos_end) {
1623 1623
         $extract = rtrim(
1624
-                       UTF8::substr($text, 0, $pos_end, $this->encoding),
1625
-                       $trimChars
1626
-                   ) . $ellipsis;
1624
+                        UTF8::substr($text, 0, $pos_end, $this->encoding),
1625
+                        $trimChars
1626
+                    ) . $ellipsis;
1627 1627
       } else {
1628 1628
         $extract = $text;
1629 1629
       }
Please login to merge, or discard this patch.