@@ -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 | { |
@@ -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 | { |
@@ -31,6 +31,9 @@ |
||
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)); |