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/Action/Executor/Moisture.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace AppBundle\Action\Executor;
4 4
 
5 5
 use AppBundle\Entity\Action;
6
-use AppBundle\Entity\VarHook;
7
-use AppBundle\Entity\Variable;
8 6
 
9 7
 class Moisture extends BaseExecutor implements ExecutorInterface
10 8
 {
Please login to merge, or discard this patch.
src/AppBundle/Action/Executor/DayReport.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace AppBundle\Action\Executor;
4 4
 
5 5
 use AppBundle\Entity\Action;
6
-use AppBundle\Entity\VarHook;
7
-use AppBundle\Entity\Variable;
8 6
 
9 7
 class DayReport extends BaseExecutor implements ExecutorInterface
10 8
 {
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.
src/AppBundle/Controller/DashboardController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
         $list = [];
37 37
         /**
38
- * @var Widget $widget
38
+         * @var Widget $widget
39 39
 */
40 40
         foreach ($widgets as $widget) {
41 41
             $list[$widget->getId()] = [
Please login to merge, or discard this patch.
src/AppBundle/Variable/Service.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     public function getExtremes(Variable $variable)
191 191
     {
192 192
         /**
193
- * @var EntityManager $em
193
+         * @var EntityManager $em
194 194
 */
195 195
         $em = $this->getDoctrine()->getManager();
196 196
 
Please login to merge, or discard this patch.