Skip to content

Commit 52cbecd

Browse files
committed
PHPStan cleanup
1 parent 8453b36 commit 52cbecd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

SOB/CSV/Reader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function next() : void
7878
}
7979
else
8080
{
81-
$this->current = $array;
81+
$this->current = $array; // @phpstan-ignore-line
8282
}
8383
}
8484
}

SOB/Configurations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(string $configFile)
2121
{
2222
$this->parameters = include $configFile;
2323

24-
if (! \is_array($this->parameters))
24+
if (! \is_array($this->parameters)) // @phpstan-ignore-line
2525
{
2626
$this->parameters = [];
2727
}

SOB/Doctrine/Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Tests extends \SOB\Test
88
{
9-
protected \Doctrine\ORM\EntityManager $entityManager;
9+
protected ?\Doctrine\ORM\EntityManager $entityManager;
1010

1111
public function closeConnection() : void
1212
{

0 commit comments

Comments
 (0)