Minor corrections

This commit is contained in:
Netkas 2022-12-30 04:21:30 -05:00
parent 4f44ad519d
commit b856511c43
3 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@
use RTEX\Exceptions\Runtime\TypeException; use RTEX\Exceptions\Runtime\TypeException;
use RTEX\Interfaces\InstructionInterface; use RTEX\Interfaces\InstructionInterface;
class GreaterThanOrEquals implements InstructionInterface class GreaterThanOrEqual implements InstructionInterface
{ {
/** /**
* @var mixed * @var mixed
@ -32,7 +32,7 @@
*/ */
public function getType(): string public function getType(): string
{ {
return InstructionType::GreaterThanOrEquals; return InstructionType::GreaterThanOrEqual;
} }
/** /**

View file

@ -13,7 +13,7 @@
use RTEX\Exceptions\Runtime\TypeException; use RTEX\Exceptions\Runtime\TypeException;
use RTEX\Interfaces\InstructionInterface; use RTEX\Interfaces\InstructionInterface;
class LessThanOrEquals implements InstructionInterface class LessThanOrEqual implements InstructionInterface
{ {
/** /**
* @var mixed * @var mixed
@ -32,7 +32,7 @@
*/ */
public function getType(): string public function getType(): string
{ {
return InstructionType::LessThanOrEquals; return InstructionType::LessThanOrEqual;
} }
/** /**

View file

@ -83,7 +83,7 @@
public function __toString(): string public function __toString(): string
{ {
return sprintf( return sprintf(
self::getType() . ' $s !== $s', self::getType() . ' %s !== %s',
Utilities::entityToString($this->A), Utilities::entityToString($this->A),
Utilities::entityToString($this->B) Utilities::entityToString($this->B)
); );