Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BossOfGames committed Dec 3, 2024
1 parent 44a3ae3 commit 34ced39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class() extends Migration {
/**
* Run the migrations.
*/
Expand Down
3 changes: 2 additions & 1 deletion app/Http/Controllers/Api/AcarsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ function ($pirep) {

return PirepResource::collection($pireps);
}

/**
* Gets all the supported acars sources in the AcarsSource Enum
*
* @return void
*/
public function get_supported_acars_sources()
Expand Down
11 changes: 5 additions & 6 deletions app/Models/Enums/AcarsSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@

/**
* Notice for 3rd party developers.
*
*
* This file defines the master integer value for sourcing of telemetry, logs, etc.
*
*
* If you are a developer and want to add your software to this file, please make a pull request with your change to the phpVMS repository,
* even if you don't intend to release your software publicly and will only be used by your community/VA. This way, integer values will not
* conflict across systems.
*
*
* When adding your client, please follow the comment formatting so that developers know, at a glance, who maintains the specific software.
*
*
* Company Name or Real Name (github)
*/

class AcarsSource extends Enum
{
/* Desktop Based Clients */
Expand All @@ -34,4 +33,4 @@ class AcarsSource extends Enum
self::VATSIM => 'VATSIM',
self::IVAO => 'IVAO',
];
}
}

0 comments on commit 34ced39

Please sign in to comment.