Merge "Improve Status/StatusValue::splitByErrorType type hint"
This commit is contained in:
commit
91267f914e
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue