Cleanup r69128, getStatArray() -> getStatusArray(). It's two characters, c'mon
This commit is contained in:
parent
8e4c869f35
commit
e8bb37ae48
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue