...
 
Commits (2)
This diff is collapsed.
......@@ -70,7 +70,7 @@ class RelayService
* @return bool
* @throws HeatingException
*/
public function setRelay(string $gpio, bool $status)
public function setRelay(string $gpio, bool $newStatus)
{
$this->isGpioValid($gpio);
if (!in_array($status, [self::IO_VALUE_ON, self::IO_VALUE_OFF])) {
......