Skip to content

Commit c522a16

Browse files
committed
Fix codestyle
1 parent c00fa16 commit c522a16

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/phpDocumentor/Reflection/Php/MetadataContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
trait MetadataContainer
2424
{
2525
/** @var Metadata[] */
26-
private $metadata = [];
26+
private array $metadata = [];
2727

2828
/**
2929
* @throws Exception When metadata key already exists.

src/phpDocumentor/Reflection/Php/ProjectFactoryStrategies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class ProjectFactoryStrategies implements StrategyContainer
2727
public const DEFAULT_PRIORITY = 1000;
2828

2929
/** @var SplPriorityQueue<int, ProjectFactoryStrategy> */
30-
private $strategies;
30+
private SplPriorityQueue $strategies;
3131

3232
/**
3333
* Initializes the factory with a number of strategies.

tests/unit/phpDocumentor/Reflection/Php/Factory/TestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
*/
2828
abstract class TestCase extends MockeryTestCase
2929
{
30-
/** @var ProjectFactoryStrategy */
31-
protected $fixture;
30+
protected ProjectFactoryStrategy $fixture;
3231

3332
public static function createContext(?Context $typeContext = null): ContextStack
3433
{

tests/unit/phpDocumentor/Reflection/Php/Namespace_Test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class Namespace_Test extends TestCase
2929
{
3030
use MetadataContainerTest;
3131

32-
/** @var Namespace_ $fixture */
33-
protected $fixture;
32+
protected Namespace_ $fixture;
3433

3534
private Fqsen $fqsen;
3635

0 commit comments

Comments
 (0)