Use more standardized phpcs
This commit is contained in:
parent
a043071e3c
commit
c449ca5155
493 changed files with 1116 additions and 3903 deletions
|
@ -29,7 +29,6 @@ class ScheduleTransformer extends BaseClientTransformer
|
|||
/**
|
||||
* Returns a transformed schedule model such that a client can view the information.
|
||||
*
|
||||
* @param \Pterodactyl\Models\Schedule $model
|
||||
* @return array
|
||||
*/
|
||||
public function transform(Schedule $model)
|
||||
|
@ -56,7 +55,6 @@ class ScheduleTransformer extends BaseClientTransformer
|
|||
/**
|
||||
* Allows attaching the tasks specific to the schedule in the response.
|
||||
*
|
||||
* @param \Pterodactyl\Models\Schedule $model
|
||||
* @return \League\Fractal\Resource\Collection
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Transformer\InvalidTransformerLevelException
|
||||
|
@ -64,7 +62,9 @@ class ScheduleTransformer extends BaseClientTransformer
|
|||
public function includeTasks(Schedule $model)
|
||||
{
|
||||
return $this->collection(
|
||||
$model->tasks, $this->makeTransformer(TaskTransformer::class), Task::RESOURCE_NAME
|
||||
$model->tasks,
|
||||
$this->makeTransformer(TaskTransformer::class),
|
||||
Task::RESOURCE_NAME
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue