for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AHJ\ApprovalTests\Tests\Example;
final class Item
{
/**
* @var string
*/
public $name;
* @var int
public $sell_in;
public $quality;
public function __construct(string $name, int $sell_in, int $quality)
$this->name = $name;
$this->sell_in = $sell_in;
$this->quality = $quality;
}
public function __toString(): string
return "{$this->name}, {$this->sell_in}, {$this->quality}";