Cleanup r69128, getStatArray() -> getStatusArray(). It's two characters, c'mon

This commit is contained in:
Chad Horohoe 2010-07-10 09:26:42 +00:00
parent 8e4c869f35
commit e8bb37ae48

View file

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