mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 10:43:35 +01:00
35 lines
606 B
PHP
35 lines
606 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;
|
|
}
|
|
}
|