| @@ -77,7 +77,7 @@ | ||
| 77 | 77 |      { | 
| 78 | 78 |          $wordArray = explode(" ", $text); | 
| 79 | 79 | |
| 80 | -        array_walk($wordArray, function (&$word) { | |
| 80 | +        array_walk($wordArray, function(&$word) { | |
| 81 | 81 | $word = ucfirst($word); | 
| 82 | 82 | }); | 
| 83 | 83 | |
| @@ -53,12 +53,12 @@ | ||
| 53 | 53 |                  if (preg_match("/^(.+)([\.,;]+)$/", $text, $match)) { | 
| 54 | 54 | $punctuation = substr($match[2], -1); | 
| 55 | 55 |                      if ($this->suffix !== $punctuation) { | 
| 56 | - $text = $match[1] . substr($match[2], 0, strlen($match[2]) - 1); | |
| 57 | - return $openQuote . $text . $closeQuote . $punctuation; | |
| 56 | + $text = $match[1].substr($match[2], 0, strlen($match[2]) - 1); | |
| 57 | + return $openQuote.$text.$closeQuote.$punctuation; | |
| 58 | 58 | } | 
| 59 | 59 | } | 
| 60 | 60 | } | 
| 61 | - return $openQuote . $text . $closeQuote; | |
| 61 | + return $openQuote.$text.$closeQuote; | |
| 62 | 62 | } | 
| 63 | 63 | return $text; | 
| 64 | 64 | } |