Passed
Push — master ( bd113f...e772b1 )
by Martijn
02:09
created
src/Sentence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $merges = [];
122 122
         $merge = '';
123 123
 
124
-        $filtered = array_filter($punctuations, function ($p) {
124
+        $filtered = array_filter($punctuations, function($p) {
125 125
             return $p !== '';
126 126
         });
127 127
 
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
      */
367 367
     private static function trimSentences($sentences)
368 368
     {
369
-        return array_map(function ($sentence) {
369
+        return array_map(function($sentence) {
370 370
             return Multibyte::trim($sentence);
371 371
         }, $sentences);
372 372
     }
Please login to merge, or discard this patch.
src/Multibyte.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      */
72 72
     public static function split($pattern, $string, $limit = -1, $flags = 0)
73 73
     {
74
-        $offset_capture = (bool)($flags & PREG_SPLIT_OFFSET_CAPTURE);
74
+        $offset_capture = (bool) ($flags & PREG_SPLIT_OFFSET_CAPTURE);
75 75
 
76 76
         $lengths = self::getSplitLengths($pattern, $string);
77 77
 
Please login to merge, or discard this patch.