Skip to content

Commit

Permalink
[viera-connector] Fixed viera device installation (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 27, 2024
1 parent fbec501 commit b875ca9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Transformers/EquationTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ final class EquationTransformer
public function __construct(string $equation)
{
if (preg_match(Metadata\Constants::VALUE_EQUATION_TRANSFORMER, $equation, $matches) === 1) {
if (array_key_exists('equation_x', $matches)) {
$this->equationFrom = $matches['equation_x'];
}
$this->equationFrom = $matches['equation_x'];

if (array_key_exists('equation_y', $matches)) {
$this->equationTo = $matches['equation_y'];
Expand Down

0 comments on commit b875ca9

Please sign in to comment.