Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 2539e70

Browse files
authored
Merge pull request #13 from VectorNetworkProject/analysis-8KYJaR
Apply fixes from StyleCI
2 parents 3588766 + e1f5ca3 commit 2539e70

File tree

13 files changed

+16
-14
lines changed

13 files changed

+16
-14
lines changed

src/VectorNetworkProject/TheMix/event/block/TheBlockBreakEvent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class TheBlockBreakEvent implements Listener
2626
{
2727
/**
2828
* @param BlockBreakEvent $event
29+
*
2930
* @throws \ReflectionException
3031
*/
3132
public function event(BlockBreakEvent $event)

src/VectorNetworkProject/TheMix/event/entity/TheEntityDamageEvent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class TheEntityDamageEvent implements Listener
2626
{
2727
/**
2828
* @param EntityDamageEvent $event
29+
*
2930
* @throws \ReflectionException
3031
*/
3132
public function event(EntityDamageEvent $event)

src/VectorNetworkProject/TheMix/game/DefaultConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DefaultConfig
2828
const TIMEZONE = 'timezone';
2929

3030
/** @var string */
31-
const BLOCK_ID = "join-block-id";
31+
const BLOCK_ID = 'join-block-id';
3232

3333
/** @var string */
3434
const RED = 'red';

src/VectorNetworkProject/TheMix/game/bounty/Bounty.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function init(Player $player): void
3131
{
3232
$db = new JSON($player->getXuid(), self::FILE_NAME);
3333
$db->init([
34-
'gold' => 0,
34+
'gold' => 0,
3535
'bounty' => false,
3636
]);
3737
}
@@ -40,7 +40,7 @@ public static function init(Player $player): void
4040
* プレイヤーに賭ける賞金を設定します。
4141
*
4242
* @param Player $player
43-
* @param int $gold
43+
* @param int $gold
4444
*
4545
* @throws \Error
4646
*/
@@ -69,7 +69,7 @@ public static function getGold(Player $player): int
6969

7070
/**
7171
* @param Player $player
72-
* @param bool $bounty
72+
* @param bool $bounty
7373
*/
7474
public static function setBounty(Player $player, bool $bounty): void
7575
{
@@ -116,7 +116,7 @@ public static function setPlayerBounty(Player $player): void
116116
}
117117

118118
/**
119-
* @param Player $player
119+
* @param Player $player
120120
* @param Player|null $killer
121121
*
122122
* @throws \ReflectionException

src/VectorNetworkProject/TheMix/game/corepvp/SpawnManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function PlayerReSpawn(Player $player)
4242
}
4343

4444
/**
45-
* @param Player $player
45+
* @param Player $player
4646
* @param Position $position
4747
*/
4848
private static function ReSpawnCooldown(Player $player, Position $position): void

src/VectorNetworkProject/TheMix/game/corepvp/TeamManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ abstract public static function removeList(Player $player): void;
5555

5656
/**
5757
* @param Player $player
58+
*
5859
* @return bool
5960
*/
6061
abstract public static function isJoined(Player $player): bool;

src/VectorNetworkProject/TheMix/game/corepvp/blue/BlueCoreManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function getHP(): int
4444
}
4545

4646
/**
47-
* @param int $hp
47+
* @param int $hp
4848
* @param Player $player
4949
*
5050
* @throws \ReflectionException

src/VectorNetworkProject/TheMix/game/corepvp/blue/BlueTeamManager.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public static function removeList(Player $player): void
3535

3636
/**
3737
* @param Player $player
38+
*
3839
* @return bool
3940
*/
4041
public static function isJoined(Player $player): bool
@@ -58,9 +59,6 @@ public static function getListCount(): int
5859
return count(self::$list);
5960
}
6061

61-
/**
62-
*
63-
*/
6462
public static function ClearList(): void
6563
{
6664
self::$list = [];

src/VectorNetworkProject/TheMix/game/corepvp/red/RedCoreManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function getHP(): int
4444
}
4545

4646
/**
47-
* @param int $hp
47+
* @param int $hp
4848
* @param Player $player
4949
*
5050
* @throws \ReflectionException

src/VectorNetworkProject/TheMix/game/corepvp/red/RedTeamManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public static function removeList(Player $player): void
3535

3636
/**
3737
* @param Player $player
38+
*
3839
* @return bool
3940
*/
4041
public static function isJoined(Player $player): bool

0 commit comments

Comments
 (0)