3cf19d8656
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io). --- For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
32 lines
491 B
PHP
32 lines
491 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Player;
|
|
|
|
class GetPlayerJson extends Event
|
|
{
|
|
public $player;
|
|
|
|
/**
|
|
* CSL_API = 0
|
|
* USM_API = 1.
|
|
*
|
|
* @var int
|
|
*/
|
|
public $apiType;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Player $player
|
|
* @param int $apiType
|
|
* @return void
|
|
*/
|
|
public function __construct(Player $player, $apiType)
|
|
{
|
|
$this->player = $player;
|
|
$this->apiType = $apiType;
|
|
}
|
|
}
|