Use more standardized phpcs

This commit is contained in:
Dane Everitt
2021-01-23 12:33:34 -08:00
parent a043071e3c
commit c449ca5155
493 changed files with 1116 additions and 3903 deletions

View File

@@ -20,8 +20,6 @@ class LocationCreationService
/**
* LocationCreationService constructor.
*
* @param \Pterodactyl\Contracts\Repository\LocationRepositoryInterface $repository
*/
public function __construct(LocationRepositoryInterface $repository)
{
@@ -31,7 +29,6 @@ class LocationCreationService
/**
* Create a new location.
*
* @param array $data
* @return \Pterodactyl\Models\Location
*
* @throws \Pterodactyl\Exceptions\Model\DataValidationException

View File

@@ -29,9 +29,6 @@ class LocationDeletionService
/**
* LocationDeletionService constructor.
*
* @param \Pterodactyl\Contracts\Repository\LocationRepositoryInterface $repository
* @param \Pterodactyl\Contracts\Repository\NodeRepositoryInterface $nodeRepository
*/
public function __construct(
LocationRepositoryInterface $repository,
@@ -45,6 +42,7 @@ class LocationDeletionService
* Delete an existing location.
*
* @param int|\Pterodactyl\Models\Location $location
*
* @return int|null
*
* @throws \Pterodactyl\Exceptions\Service\Location\HasActiveNodesException

View File

@@ -21,8 +21,6 @@ class LocationUpdateService
/**
* LocationUpdateService constructor.
*
* @param \Pterodactyl\Contracts\Repository\LocationRepositoryInterface $repository
*/
public function __construct(LocationRepositoryInterface $repository)
{
@@ -33,7 +31,7 @@ class LocationUpdateService
* Update an existing location.
*
* @param int|\Pterodactyl\Models\Location $location
* @param array $data
*
* @return \Pterodactyl\Models\Location
*
* @throws \Pterodactyl\Exceptions\Model\DataValidationException