Passed
Branch master (c44179)
by NexusLink
03:35
created
Category
src/StringTagAppendar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function appendAround($content, $string, $tag) {
24 24
         
25
-        if(!empty($content) && !empty($string) && !empty($tag)) {
25
+        if (!empty($content) && !empty($string) && !empty($tag)) {
26 26
             $htmltag = str_replace('<', '', str_replace('>', '', $tag));
27 27
             
28 28
             return preg_replace(array('/'.$string.'/i'), array('<'.$htmltag.'>'.$string.'</'.$htmltag.'>'), $content);
Please login to merge, or discard this patch.