Format code using php-cs-fixer

This commit is contained in:
jo 2021-10-11 16:10:47 +02:00
parent 43d7dc92cd
commit d52c6184b9
352 changed files with 17473 additions and 17041 deletions

View file

@ -1,12 +1,11 @@
<?php
final class HttpRequestType {
const GET = "GET";
const POST = "POST";
const PUT = "PUT";
const DELETE = "DELETE";
const PATCH = "PATCH";
const OPTIONS = "OPTIONS";
}
final class HttpRequestType
{
public const GET = 'GET';
public const POST = 'POST';
public const PUT = 'PUT';
public const DELETE = 'DELETE';
public const PATCH = 'PATCH';
public const OPTIONS = 'OPTIONS';
}

View file

@ -1,17 +1,17 @@
<?php
final class MediaType {
final class MediaType
{
public const __default = self::FILE;
const __default = self::FILE;
public const FILE = 1;
public const PLAYLIST = 2;
public const BLOCK = 3;
public const WEBSTREAM = 4;
public const PODCAST = 5;
const FILE = 1;
const PLAYLIST = 2;
const BLOCK = 3;
const WEBSTREAM = 4;
const PODCAST = 5;
public static function getDefault() {
public static function getDefault()
{
return static::__default;
}
}
}