*
* @file
* @ingroup FileBackend
- * @author Aaron Schulz
*/
use Psr\Log\LoggerInterface;
* This must update $predicates for each path that the op can change
* except when a failing StatusValue object is returned.
*
- * @param array $predicates
+ * @param array &$predicates
* @return StatusValue
*/
final public function precheck( array &$predicates ) {
}
/**
- * @param array $predicates
+ * @param array &$predicates
* @return StatusValue
*/
protected function doPrecheck( array &$predicates ) {
$params = $this->params;
$params['failedAction'] = $action;
try {
- $this->logger->error( get_class( $this ) .
+ $this->logger->error( static::class .
" failed (batch #{$this->batchId}): " . FormatJson::encode( $params ) );
} catch ( Exception $e ) {
// bad config? debug log error?