Completed
Push — master ( d60692...4c4f45 )
by Lars
03:02
created
src/Stringy.php 2 patches
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.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2316,7 +2316,7 @@  discard block
 block discarded – undo
2316 2316
   /**
2317 2317
    * @param string $word
2318 2318
    *
2319
-   * @return string
2319
+   * @return Stringy
2320 2320
    */
2321 2321
   private function capitalizeWord($word)
2322 2322
   {
@@ -2335,7 +2335,7 @@  discard block
 block discarded – undo
2335 2335
    * @param string $names
2336 2336
    * @param string $delimiter
2337 2337
    *
2338
-   * @return string
2338
+   * @return Stringy
2339 2339
    */
2340 2340
   private function capitalizePersonalNameByDelimiter($names, $delimiter)
2341 2341
   {
Please login to merge, or discard this patch.