@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | } |
147 | 147 | |
148 | 148 | /** |
149 | - * @param mixed $name |
|
149 | + * @param string $name |
|
150 | 150 | * @return Device |
151 | 151 | */ |
152 | 152 | public function setName($name) |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
167 | - * @param mixed $alias |
|
167 | + * @param string $alias |
|
168 | 168 | * @return Device |
169 | 169 | */ |
170 | 170 | public function setAlias($alias) |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | $action = new Action(); |
33 | 33 | |
34 | - $action->setArguments(json_encode(['file'=>'/tmp/testfile.log','text'=>'testtext'])); |
|
34 | + $action->setArguments(json_encode(['file'=>'/tmp/testfile.log', 'text'=>'testtext'])); |
|
35 | 35 | $action->setType('real'); |
36 | 36 | $action->setAlias('file.write'); |
37 | 37 | $action->setDevice($device); |