Completed
Push — master ( 2d4c40...9d8b8f )
by Devin
02:18
created
src/helpers.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use TextUtils\NGram;
4 4
 
5
-if (! function_exists('bigram')) {
5
+if (!function_exists('bigram')) {
6 6
     /**
7 7
      * Generate a bi-gram for the provided string.
8 8
      *
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     }
19 19
 }
20 20
 
21
-if (! function_exists('trigram')) {
21
+if (!function_exists('trigram')) {
22 22
     /**
23 23
      * Generate a tri-gram for the provided string.
24 24
      *
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 }
36 36
 
37
-if (! function_exists('ngram')) {
37
+if (!function_exists('ngram')) {
38 38
     /**
39 39
      * Generate a tri-gram for the provided string.
40 40
      *
@@ -47,6 +47,6 @@  discard block
 block discarded – undo
47 47
      */
48 48
     function ngram(string $text, int $length = 3)
49 49
     {
50
-        return NGram::for($text, $length);
50
+        return NGram::for ($text, $length);
51 51
     }
52 52
 }
Please login to merge, or discard this patch.