mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-21 01:41:00 +01:00
30 lines
604 B
PHP
30 lines
604 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\BetterPhpDocParser\ValueObject;
|
|
|
|
final class AroundSpaces
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $closingSpace;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $openingSpace;
|
|
public function __construct(string $closingSpace, string $openingSpace)
|
|
{
|
|
$this->closingSpace = $closingSpace;
|
|
$this->openingSpace = $openingSpace;
|
|
}
|
|
public function getClosingSpace() : string
|
|
{
|
|
return $this->closingSpace;
|
|
}
|
|
public function getOpeningSpace() : string
|
|
{
|
|
return $this->openingSpace;
|
|
}
|
|
}
|