Skip to content

Commit

Permalink
Fix many PossiblyNullPropertyFetch in upstream repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jul 29, 2023
1 parent e2c6690 commit 0bb3c5c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/TestUtils/ArrayizableElementTestTrait.php
Expand Up @@ -15,11 +15,11 @@
*/
trait ArrayizableElementTestTrait
{
/** @var class-string|null */
protected static ?string $testedClass;
/** @var class-string */
protected static string $testedClass;

/** @var array|null */
protected static ?array $arrayRepresentation;
/** @var array */
protected static array $arrayRepresentation;


/**
Expand Down
12 changes: 6 additions & 6 deletions src/TestUtils/SchemaValidationTestTrait.php
Expand Up @@ -25,14 +25,14 @@
*/
trait SchemaValidationTestTrait
{
/** @var class-string|null */
protected static ?string $testedClass;
/** @var class-string */
protected static string $testedClass;

/** @var string|null */
protected static ?string $schemaFile;
/** @var string */
protected static string $schemaFile;

/** @var \DOMDocument|null */
protected static ?DOMDocument $xmlRepresentation;
/** @var \DOMDocument */
protected static DOMDocument $xmlRepresentation;


/**
Expand Down
8 changes: 4 additions & 4 deletions src/TestUtils/SerializableElementTestTrait.php
Expand Up @@ -15,11 +15,11 @@
*/
trait SerializableElementTestTrait
{
/** @var class-string|null */
protected static ?string $testedClass;
/** @var class-string */
protected static string $testedClass;

/** @var \DOMDocument|null */
protected static ?DOMDocument $xmlRepresentation;
/** @var \DOMDocument */
protected static DOMDocument $xmlRepresentation;


/**
Expand Down

0 comments on commit 0bb3c5c

Please sign in to comment.