<?php
/**
- *
- *
- * Created on June 1, 2008
- *
* Copyright © 2008 Bryan Tong Minh <Bryan.TongMinh@Gmail.com>
*
* This program is free software; you can redistribute it and/or modify
}
$result = array_filter( [
- 'result' => $retval->isGood() ? 'Success' : ( $retval->isOk() ? 'Warnings' : 'Failure' ),
+ 'result' => $retval->isGood() ? 'Success' : ( $retval->isOK() ? 'Warnings' : 'Failure' ),
'warnings' => $this->getErrorFormatter()->arrayFromStatus( $retval, 'warning' ),
'errors' => $this->getErrorFormatter()->arrayFromStatus( $retval, 'error' ),
] );