modify plugin name
This commit is contained in:
@@ -13,4 +13,20 @@ enum Method
|
||||
case REQUEST_DELETE;
|
||||
case REQUEST_PUT;
|
||||
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getString(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::REQUEST_POST => 'POST',
|
||||
self::REQUEST_GET => 'GET',
|
||||
self::REQUEST_HEAD => 'HEAD',
|
||||
self::REQUEST_OPTIONS => 'OPTIONS',
|
||||
self::REQUEST_DELETE => 'DELETE',
|
||||
self::REQUEST_PUT => 'PUT'
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user