Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
Fix SplObjectStorage iteration #56
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaber-de committed Feb 18, 2016
1 parent 07a980f commit 4570cd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inc/Import/Module/ResolvingPendingMetaFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ public function resolve_pending_meta_filter() {

$post_filter_storage = $this->meta_list->get_filters( 'post' );
/**
* @var array $filter_list
* @var array $filter_list
* @var Type\MetaRecordIndexInterface $meta_index
*/
foreach ( $post_filter_storage as $filter_list => $meta_index ) {
foreach ( $post_filter_storage as $meta_index ) {
$filter_list = $post_filter_storage->offsetGet( $meta_index );
/* @var array $data */
foreach ( $filter_list as $data )
$this->apply_post_filter( $meta_index, $data[ 'filter' ], $data[ 'meta' ] );
Expand Down

0 comments on commit 4570cd0

Please sign in to comment.