Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
YeePHP: depreciate the toggle() method
Browse files Browse the repository at this point in the history
This cause strange flicker
  • Loading branch information
SharkEzz committed Jan 1, 2021
1 parent 5a34e52 commit a3a84b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/YeePHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ public function getName(): string
return $this->getProp('name');
}

/**
* @deprecated Please use the setPower() method instead
*/
public function toggle(): self
{
$this->createJob('toggle', []);
Expand Down

0 comments on commit a3a84b5

Please sign in to comment.