Test Setup Failed
Push — master ( 7f5f0c...83ce6a )
by jiemoon
02:14
created
src/ChineseSlug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $tmp_slug = $this->generateSlug($string, "-");
25 25
 
26 26
         $count = $this->chinese_slug->getCountOfMatchingSlugs($table, $column, $tmp_slug);
27
-        if($count > 0) {
27
+        if ($count > 0) {
28 28
             $tmp_slug = sprintf("%s%s%s", $tmp_slug, $separator, ($count + 1));
29 29
         }
30 30
 
Please login to merge, or discard this patch.
src/ChineseSlugRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 {
9 9
     public function getCountOfMatchingSlugs($table, $column, $slug)
10 10
     {
11
-        return DB::table($table)->where($column, 'LIKE', $slug.'%')->count();
11
+        return DB::table($table)->where($column, 'LIKE', $slug . '%')->count();
12 12
     }
13 13
 }
Please login to merge, or discard this patch.