Fixed some more inspection issues

This commit is contained in:
Jan Böhmer 2023-04-15 22:05:29 +02:00
parent de96aae9a5
commit 29d1d49aca
83 changed files with 153 additions and 172 deletions

View file

@ -27,7 +27,7 @@ use PHPUnit\Framework\TestCase;
class BBCodeToMarkdownConverterTest extends TestCase
{
protected $converter;
protected BBCodeToMarkdownConverter $converter;
protected function setUp(): void
{

View file

@ -35,24 +35,24 @@ class ProjectBuildRequestTest extends TestCase
private MeasurementUnit $float_unit;
/** @var Project */
private $project1;
private Project $project1;
/** @var ProjectBOMEntry */
private $bom_entry1a;
private ProjectBOMEntry $bom_entry1a;
/** @var ProjectBOMEntry */
private $bom_entry1b;
private ProjectBOMEntry $bom_entry1b;
/** @var ProjectBOMEntry */
private $bom_entry1c;
private ProjectBOMEntry $bom_entry1c;
/** @var PartLot $lot1a */
private $lot1a;
/** @var PartLot $lot1b */
private $lot1b;
private $lot2;
private PartLot $lot2;
/** @var Part */
private $part1;
private Part $part1;
/** @var Part */
private $part2;
private Part $part2;
public function setUp(): void

View file

@ -30,11 +30,11 @@ class TreeViewNodeTest extends TestCase
/**
* @var TreeViewNode
*/
protected $node1;
protected TreeViewNode $node1;
/**
* @var TreeViewNode
*/
protected $node2;
protected TreeViewNode $node2;
protected function setUp(): void
{