Passed
Branch main (337636)
by ANDREY
02:26
created
src/VPA/Console/Glyphs/Text.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     {
14 14
         $this->text = $text;
15 15
         $batches = $this->splitText();
16
-        $lengths = array_map(function ($it) {
16
+        $lengths = array_map(function($it) {
17 17
             return strlen($it);
18 18
         }, $batches);
19 19
         $this->width = max($lengths);
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function render(): GlyphInline
31 31
     {
32 32
         $batches = $this->splitText();
33
-        $lengths = array_map(function ($it) {
33
+        $lengths = array_map(function($it) {
34 34
             return strlen($it);
35 35
         }, $batches);
36 36
         $this->height = count($batches);
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
         $symbols = str_split($resultString) ?? [];
52 52
 
53
-        $this->renderMap = $this->getWidth() ? array_chunk(array_map(function ($value) {
53
+        $this->renderMap = $this->getWidth() ? array_chunk(array_map(function($value) {
54 54
             return new Symbol($value);
55 55
         }, $symbols), $this->getWidth()) : [];
56 56
         $this->height = count($this->renderMap);
Please login to merge, or discard this patch.