Passed
Push — master ( 986dc0...a43723 )
by Luiz Kim
02:39
created
src/Service/PrintService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function addLine($prefix = '', $suffix = '', $delimiter = ' ')
33 33
     {
34 34
         $initialSpace = str_repeat(" ", $this->initialSpace);
35
-        $count =   $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
35
+        $count = $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
36 36
         if ($count > 0)
37 37
             $delimiter = str_repeat($delimiter, $count);
38 38
         $this->text .= $initialSpace . $prefix . $delimiter . $suffix . "\n";
@@ -50,11 +50,11 @@  discard block
 block discarded – undo
50 50
     public function generatePrintData(Device $device, People $provider, ?array $aditionalData = []): Spool
51 51
     {
52 52
         $printer = null;
53
-        $device_config =  $this->deviceService->discoveryDeviceConfig($device, $provider)->getConfigs(true);
53
+        $device_config = $this->deviceService->discoveryDeviceConfig($device, $provider)->getConfigs(true);
54 54
         if (isset($device_config['printer']))
55 55
             $printer = $this->deviceService->discoveryDevice($device_config['printer']);
56 56
 
57
-        $content =  [
57
+        $content = [
58 58
             "operation" => "PRINT_TEXT",
59 59
             "styles" => [[]],
60 60
             "value" => [$this->text]
Please login to merge, or discard this patch.