Skip to content

Commit

Permalink
Revert addition of protected properties on Collection and re-add to b…
Browse files Browse the repository at this point in the history
…aseline

Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jun 10, 2022
1 parent 52a6dbd commit 853a0ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
8 changes: 4 additions & 4 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@
<InvalidArgument occurrences="1">
<code>$data</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="2">
<InvalidPropertyAssignmentValue occurrences="5">
<code>$name</code>
<code>$this-&gt;collectionMessages</code>
<code>$this-&gt;collectionMessages</code>
<code>$this-&gt;invalidInputs</code>
<code>$this-&gt;validInputs</code>
</InvalidPropertyAssignmentValue>
<LessSpecificImplementedReturnType occurrences="1">
<code>array&lt;array-key, array&gt;</code>
Expand All @@ -100,9 +103,6 @@
<MixedAssignment occurrences="1">
<code>$data</code>
</MixedAssignment>
<PossiblyInvalidPropertyAssignmentValue occurrences="1">
<code>$name</code>
</PossiblyInvalidPropertyAssignmentValue>
</file>
<file src="src/Factory.php">
<InvalidReturnStatement occurrences="1">
Expand Down
18 changes: 0 additions & 18 deletions src/CollectionInputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,6 @@ class CollectionInputFilter extends InputFilter
/** @var NotEmpty|null */
protected $notEmptyValidator;

/**
* @var array<array-key, array<string, InputInterface|InputFilterInterface>>|null
* @psalm-suppress NonInvariantDocblockPropertyType
*/
protected $validInputs;

/**
* @var array<array-key, array<string, InputInterface|InputFilterInterface>>|null
* @psalm-suppress NonInvariantDocblockPropertyType
*/
protected $invalidInputs;

/**
* @var array<array-key, list<string>>|null
* @psalm-suppress NonInvariantDocblockPropertyType
*/
protected $validationGroup;

/**
* Set the input filter to use when looping the data
*
Expand Down

0 comments on commit 853a0ac

Please sign in to comment.