mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
This commit is contained in:
@@ -87,7 +87,7 @@ class md_exporter
|
||||
$this->validate_events_from_file($file_name, $this->crawl_file_for_events($file_name));
|
||||
}
|
||||
|
||||
return sizeof($this->events);
|
||||
return count($this->events);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,7 +113,7 @@ class md_exporter
|
||||
}
|
||||
}
|
||||
|
||||
return sizeof($this->events);
|
||||
return count($this->events);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -219,7 +219,7 @@ class md_exporter
|
||||
);
|
||||
}
|
||||
|
||||
return sizeof($this->events);
|
||||
return count($this->events);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user