@@ -3,8 +3,6 @@ |
||
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 | { |
@@ -3,8 +3,6 @@ |
||
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 | { |
@@ -56,7 +56,7 @@ |
||
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 |