mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 13:25:30 +01:00
26 lines
425 B
PHP
26 lines
425 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\CodingStyle\ValueObject;
|
|
|
|
/**
|
|
* @enum
|
|
*/
|
|
final class PreferenceSelfThis
|
|
{
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public const ALLOWED_VALUES = [self::PREFER_THIS, self::PREFER_SELF];
|
|
/**
|
|
* @api
|
|
* @var string
|
|
*/
|
|
public const PREFER_THIS = 'prefer_this';
|
|
/**
|
|
* @api
|
|
* @var string
|
|
*/
|
|
public const PREFER_SELF = 'prefer_self';
|
|
}
|