![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/rector/rector/rules/DeadCode/ValueObject/ |
<?php declare (strict_types=1); namespace Rector\DeadCode\ValueObject; use Rector\DeadCode\Contract\ConditionInterface; final class VersionCompareCondition implements ConditionInterface { /** * @readonly * @var int */ private $firstVersion; /** * @readonly * @var int */ private $secondVersion; /** * @readonly * @var string|null */ private $compareSign; public function __construct(int $firstVersion, int $secondVersion, ?string $compareSign) { $this->firstVersion = $firstVersion; $this->secondVersion = $secondVersion; $this->compareSign = $compareSign; } public function getFirstVersion() : int { return $this->firstVersion; } public function getSecondVersion() : int { return $this->secondVersion; } public function getCompareSign() : ?string { return $this->compareSign; } }