Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Oct 4, 2023
1 parent c00fa16 commit c522a16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/phpDocumentor/Reflection/Php/MetadataContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
trait MetadataContainer
{
/** @var Metadata[] */
private $metadata = [];
private array $metadata = [];

/**
* @throws Exception When metadata key already exists.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class ProjectFactoryStrategies implements StrategyContainer
public const DEFAULT_PRIORITY = 1000;

/** @var SplPriorityQueue<int, ProjectFactoryStrategy> */
private $strategies;
private SplPriorityQueue $strategies;

/**
* Initializes the factory with a number of strategies.
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/phpDocumentor/Reflection/Php/Factory/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
*/
abstract class TestCase extends MockeryTestCase
{
/** @var ProjectFactoryStrategy */
protected $fixture;
protected ProjectFactoryStrategy $fixture;

public static function createContext(?Context $typeContext = null): ContextStack
{
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/phpDocumentor/Reflection/Php/Namespace_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class Namespace_Test extends TestCase
{
use MetadataContainerTest;

/** @var Namespace_ $fixture */
protected $fixture;
protected Namespace_ $fixture;

private Fqsen $fqsen;

Expand Down

0 comments on commit c522a16

Please sign in to comment.