for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NamespaceProtector\Result;
final class ErrorResult implements ResultInterface
{
/** @var string */
private $value;
$value
/** @var int */
private $type;
private $line;
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 \Safe\sprintf("\t > ERROR Line: %d of use %s ",$this->line,$this->use);
public function getType(): int
return $this->type;