* @return Array
*/
function getErrorsArray() {
- return $this->getStatArray( "error" );
+ return $this->getStatusArray( "error" );
}
/**
* @return Array
*/
function getWarningsArray() {
- return $this->getStatArray( "warning" );
+ return $this->getStatusArray( "warning" );
}
/**
*
* @return Array
*/
- protected function getStatArray( $type ) {
+ protected function getStatusArray( $type ) {
$result = array();
foreach ( $this->errors as $error ) {
if ( $error['type'] === $type ) {