Merge "Improve Status/StatusValue::splitByErrorType type hint"

This commit is contained in:
jenkins-bot 2016-10-24 05:11:30 +00:00 committed by Gerrit Code Review
commit 91267f914e
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class Status extends StatusValue {
* 1 => object(Status) # The Status with warning messages, only
* ]
*
* @return array
* @return Status[]
*/
public function splitByErrorType() {
list( $errorsOnlyStatus, $warningsOnlyStatus ) = parent::splitByErrorType();

View file

@ -88,7 +88,7 @@ class StatusValue {
* 1 => object(StatusValue) # The StatusValue with warning messages, only
* ]
*
* @return array
* @return StatusValue[]
*/
public function splitByErrorType() {
$errorsOnlyStatusValue = clone $this;