Skip to content

Commit

Permalink
Issue #3399712 by joseph.olstad: [D10] - php 8.1 deprecation fix for …
Browse files Browse the repository at this point in the history
…wxt_ext_media bulk upload
  • Loading branch information
Joseph Olstad authored and sylus committed Nov 13, 2023
1 parent d312235 commit 5817c6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ public function __toString() {
/**
* {@inheritdoc}
*/
public function count() {
public function count(): int {
return count($this->types);
}

/**
* {@inheritdoc}
*/
public function getIterator() {
public function getIterator(): \Traversable {
return new \ArrayIterator($this->types);
}

Expand Down

0 comments on commit 5817c6a

Please sign in to comment.