@@ -138,7 +138,7 @@ discard block |
||
| 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 |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @return mixed |
|
| 159 | + * @return string |
|
| 160 | 160 | */ |
| 161 | 161 | public function getAlias() |
| 162 | 162 | { |
@@ -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 | { |
@@ -9,12 +9,12 @@ |
||
| 9 | 9 | class Moisture extends BaseExecutor implements ExecutorInterface |
| 10 | 10 | { |
| 11 | 11 | |
| 12 | - public function getData(Action $action) |
|
| 13 | - { |
|
| 14 | - $varService = $this->getContainer()->get('vars'); |
|
| 12 | + public function getData(Action $action) |
|
| 13 | + { |
|
| 14 | + $varService = $this->getContainer()->get('vars'); |
|
| 15 | 15 | |
| 16 | - $params = $action->getDevice()->getParams(); |
|
| 16 | + $params = $action->getDevice()->getParams(); |
|
| 17 | 17 | |
| 18 | 18 | |
| 19 | - } |
|
| 19 | + } |
|
| 20 | 20 | } |