Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 35ea8ff

Browse files
committed
CS: fixer
1 parent 71c0154 commit 35ea8ff

8 files changed

Lines changed: 10 additions & 11 deletions

File tree

src/Main.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

@@ -23,7 +23,6 @@
2323
use fly\commands\FlyCommand;
2424
use fly\commands\FlySpeedCommand;
2525
use fly\listener\PlayerJoinListener;
26-
use fly\session\Session;
2726
use iriss\IrissCommand;
2827
use nacre\NacreUI;
2928
use olymp\PermissionManager;

src/commands/FlyCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

src/commands/FlySpeedCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

src/listener/PlayerJoinListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

src/session/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

src/session/SessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

src/task/FlyTask.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

@@ -63,7 +63,7 @@ public function onRun() : void {
6363
}
6464
$config = Main::getInstance()->getConfig();
6565
$bossbar->setTitle(str_replace('%time%', Utils::convertTime($this->time), $config->get('bossbar.title', 'Fly mode: %time%')));
66-
$this->session->setFlyTime($this->time);
66+
$this->session->setFlyTime($this->time);
6767
$bossbar->setPercentage($this->time / $this->initTime);
6868
if($config->get('use.sound')) {
6969
if($this->time <= 5) {
@@ -87,7 +87,7 @@ public function onRun() : void {
8787
}
8888
$this->player->sendMessage($config->get('fly.disabled', "Vous venez de §cdésactiver §fle vole."));
8989
$bossbar->removePlayer($this->player);
90-
$this->session->setFlyTime(0);
90+
$this->session->setFlyTime(0);
9191
$this->getHandler()->cancel();
9292
}
9393
$this->time--;

src/utils/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Synopsie
1414
* @link https://github.com/Synopsie
15-
* @version 1.0.0
15+
* @version 1.0.1
1616
*
1717
*/
1818

0 commit comments

Comments
 (0)