for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace NamespaceProtector\Result;
final class ErrorResult implements ResultInterface
{
/** @var int */
private $type;
private $line;
/** @var string */
private $use;
public function __construct(int $line, string $use, int $type)
$this->line = $line;
$this->use = $use;
$this->type = $type;
}
public function get(): String
return $this->use;
public function getType(): int
return $this->type;
public function getUse(): string
public function getLine(): int
return $this->line;