Skip to content

Commit 1b2900d

Browse files
committed
Fix PHPStan issues
1 parent 851a1e2 commit 1b2900d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/Element/Elements.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,8 +723,8 @@ public function restoreElements(array $elements): bool
723723
* Reorders nested elements for a given owner element.
724724
*
725725
* @param ElementInterface $owner The owner element
726-
* @param ElementQueryInterface|ElementCollection $nestedElements The owner’s nested elements
727-
* @param array $elementIds The nested element IDs that are being moved, in their new relative order
726+
* @param ElementQueryInterface|ElementCollection<int, ElementInterface> $nestedElements The owner’s nested elements
727+
* @param int[] $elementIds The nested element IDs that are being moved, in their new relative order
728728
* @param int $offset The zero-based offset that `$elementIds` should be inserted at, relative to the owner’s
729729
* other nested elements
730730
*/

src/Support/Url.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ public static function removeParam(string $url, string $param): string
139139

140140
/**
141141
* Removes query string params from a URL.
142+
*
143+
* @param string[] $params
142144
*/
143145
public static function removeParams(string $url, array $params): string
144146
{

0 commit comments

Comments
 (0)