You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getIterator()
{
return new ArrayIterator($this->items);
}
LOG.warning: Return type of Dymantic\InstagramFeed\InstagramFeed::getIterator()
public function count()
{
return count($this->items);
}
LOG.warning: Return type of Dymantic\InstagramFeed\InstagramFeed::count() should either be compatible with Countable::count(): int,
TO
public function getIterator() : ArrayIterator
{
return new ArrayIterator($this->items);
}
public function count() : Int
{
return count($this->items);
}
Can you update the function ?
Thank You for your instagram module
The text was updated successfully, but these errors were encountered:
i also facing the same problem :(
error log :
DEPRECATED Return type of Dymantic\InstagramFeed\InstagramFeed::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\dymantic\laravel-instagram-feed\src\InstagramFeed.php on line 42.
DEPRECATED Return type of Dymantic\InstagramFeed\InstagramFeed::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\dymantic\laravel-instagram-feed\src\InstagramFeed.php on line 47.
TO
Can you update the function ?
Thank You for your instagram module
The text was updated successfully, but these errors were encountered: