Completed
Push — master ( 07b256...c70854 )
by Kirill
05:12
created
src/AppBundle/Entity/Device.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @return mixed
141
+     * @return string
142 142
      */
143 143
     public function getName()
144 144
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @return mixed
159
+     * @return string
160 160
      */
161 161
     public function getAlias()
162 162
     {
Please login to merge, or discard this patch.
src/AppBundle/ThermalPrinter.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
         return $this;
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $string
36
+     */
34 37
     public function writeString($string)
35 38
     {
36 39
         fwrite($this->fp, wordwrap(iconv('UTF-8', 'cp1251', $string), 32));
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function inv()
57 57
     {
58 58
         $this->isInverse = !$this->isInverse;
59
-        fwrite($this->fp, chr(29).chr(66).chr($this->isInverse?1:0));
59
+        fwrite($this->fp, chr(29).chr(66).chr($this->isInverse ? 1 : 0));
60 60
         return $this;
61 61
     }
62 62
 
Please login to merge, or discard this patch.