@@ -148,8 +148,4 @@ |
||
148 | 148 | $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string); |
149 | 149 | $string = trim($string, $slug); |
150 | 150 | } |
151 | - return $string; |
|
152 | - } |
|
153 | - |
|
154 | - |
|
155 | -} |
|
151 | + return $string |
|
156 | 152 | \ No newline at end of file |
@@ -148,8 +148,4 @@ |
||
148 | 148 | $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string); |
149 | 149 | $string = trim($string, $slug); |
150 | 150 | } |
151 | - return $string; |
|
152 | - } |
|
153 | - |
|
154 | - |
|
155 | -} |
|
151 | + return $string |
|
156 | 152 | \ No newline at end of file |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | if ($characterDeficit == 0) { |
86 | 86 | //If the word is full and we're not short any characters, ignore the character |
87 | 87 | continue; |
88 | -<<<<<<< HEAD |
|
88 | +<< << <<< HEAD |
|
89 | 89 | else |
90 | 90 | $characterDeficit--; //If we are short some characters, decrement the defecit and carry on with adding the character to the abbreviation |
91 | 91 | ======= |
@@ -148,8 +148,4 @@ discard block |
||
148 | 148 | $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string); |
149 | 149 | $string = trim($string, $slug); |
150 | 150 | } |
151 | - return $string; |
|
152 | - } |
|
153 | - |
|
154 | - |
|
155 | -} |
|
151 | + return $string |
|
156 | 152 | \ No newline at end of file |
@@ -148,8 +148,4 @@ |
||
148 | 148 | $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string); |
149 | 149 | $string = trim($string, $slug); |
150 | 150 | } |
151 | - return $string; |
|
152 | - } |
|
153 | - |
|
154 | - |
|
155 | -} |
|
151 | + return $string |
|
156 | 152 | \ No newline at end of file |
@@ -148,8 +148,4 @@ |
||
148 | 148 | $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string); |
149 | 149 | $string = trim($string, $slug); |
150 | 150 | } |
151 | - return $string; |
|
152 | - } |
|
153 | - |
|
154 | - |
|
155 | -} |
|
151 | + return $string |
|
156 | 152 | \ No newline at end of file |