Passed
Push — master ( d9ef56...eaa688 )
by Luiz Kim
02:44
created
src/Service/PrintService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function addLine($prefix = '', $suffix = '', $delimiter = ' ')
27 27
     {
28 28
         $initialSpace = str_repeat(" ", $this->initialSpace);
29
-        $count =   $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
29
+        $count = $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
30 30
         if ($count > 0)
31 31
             $delimiter = str_repeat($delimiter, $count);
32 32
         $this->text .= $initialSpace . $prefix . $delimiter . $suffix . "\n";
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
     public function generatePrintData(Device $device, People $provider): Spool
45 45
     {
46 46
         $printer = null;
47
-        $device_config =  $this->deviceService->discoveryDeviceConfig($device, $provider)->getConfigs(true);
47
+        $device_config = $this->deviceService->discoveryDeviceConfig($device, $provider)->getConfigs(true);
48 48
         if (isset($device_config['printer']))
49 49
             $printer = $this->deviceService->discoveryDevice($device_config['printer']);
50 50
 
51
-        $content =  [
51
+        $content = [
52 52
             "operation" => "PRINT_TEXT",
53 53
             "styles" => [[]],
54 54
             "value" => [$this->text]
Please login to merge, or discard this patch.