@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | class Roulette extends RateUp { |
| 12 | 12 | |
| 13 | - protected static function jsonItem($dt){ |
|
| 13 | + protected static function jsonItem($dt) { |
|
| 14 | 14 | $data['data'] = ['item' => $dt]; |
| 15 | 15 | return json_encode($data); |
| 16 | 16 | } |
@@ -1,3 +1,3 @@ |
||
| 1 | 1 | <?php declare(strict_types=1); |
| 2 | 2 | |
| 3 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
| 4 | 3 | \ No newline at end of file |
| 4 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
| 5 | 5 | \ No newline at end of file |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'item 20' => 11.6, |
| 33 | 33 | 'item 21' => 8.3, |
| 34 | 34 | ]; |
| 35 | - $this->assertArrayHasKey(Roll::put($items)->spin(),$items); |
|
| 35 | + $this->assertArrayHasKey(Roll::put($items)->spin(), $items); |
|
| 36 | 36 | } |
| 37 | 37 | public function testGachaDropUpItems() |
| 38 | 38 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | 'item 20' => 11.6, |
| 59 | 59 | 'item 21' => 8.3, |
| 60 | 60 | ]; |
| 61 | - $this->assertArrayHasKey(Roll::put($items)->dropUp('SSR ITEM',300)->spin(),$items); |
|
| 61 | + $this->assertArrayHasKey(Roll::put($items)->dropUp('SSR ITEM', 300)->spin(), $items); |
|
| 62 | 62 | } |
| 63 | 63 | public function testGachaJsonItems() |
| 64 | 64 | { |
@@ -84,6 +84,6 @@ discard block |
||
| 84 | 84 | 'item 20' => 11.6, |
| 85 | 85 | 'item 21' => 8.3, |
| 86 | 86 | ]; |
| 87 | - $this->assertNotEquals(null,Roll::put($items)->dropUp('SSR ITEM',300)->jsonSpin()); |
|
| 87 | + $this->assertNotEquals(null, Roll::put($items)->dropUp('SSR ITEM', 300)->jsonSpin()); |
|
| 88 | 88 | } |
| 89 | 89 | } |
| 90 | 90 | \ No newline at end of file |