X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilebackend%2FFileBackend.php;h=ce0360f90253395aa5cae768ad27800b9a728053;hp=b87e26d3fe3297d5c83d5829064afba7b366d2c4;hb=ee734d0d3c7533bd9a690dbd71f5151da55c32ad;hpb=845f1bf0c8f228c877ef491f316d8266f832b210 diff --git a/includes/filebackend/FileBackend.php b/includes/filebackend/FileBackend.php index b87e26d3fe..ce0360f902 100644 --- a/includes/filebackend/FileBackend.php +++ b/includes/filebackend/FileBackend.php @@ -380,12 +380,15 @@ abstract class FileBackend { $op['headers']['Content-Disposition'] = $op['disposition']; } } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doOperationsInternal( $ops, $opts ); } /** * @see FileBackend::doOperations() + * @param array $ops + * @param array $opts */ abstract protected function doOperationsInternal( array $ops, array $opts ); @@ -612,12 +615,14 @@ abstract class FileBackend { $op['headers']['Content-Disposition'] = $op['disposition']; } } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doQuickOperationsInternal( $ops ); } /** * @see FileBackend::doQuickOperations() + * @param array $ops * @since 1.20 */ abstract protected function doQuickOperationsInternal( array $ops ); @@ -756,12 +761,14 @@ abstract class FileBackend { if ( empty( $params['bypassReadOnly'] ) && $this->isReadOnly() ) { return Status::newFatal( 'backend-fail-readonly', $this->name, $this->readOnly ); } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doPrepare( $params ); } /** * @see FileBackend::prepare() + * @param array $params */ abstract protected function doPrepare( array $params ); @@ -785,12 +792,14 @@ abstract class FileBackend { if ( empty( $params['bypassReadOnly'] ) && $this->isReadOnly() ) { return Status::newFatal( 'backend-fail-readonly', $this->name, $this->readOnly ); } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doSecure( $params ); } /** * @see FileBackend::secure() + * @param array $params */ abstract protected function doSecure( array $params ); @@ -816,12 +825,14 @@ abstract class FileBackend { if ( empty( $params['bypassReadOnly'] ) && $this->isReadOnly() ) { return Status::newFatal( 'backend-fail-readonly', $this->name, $this->readOnly ); } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doPublish( $params ); } /** * @see FileBackend::publish() + * @param array $params */ abstract protected function doPublish( array $params ); @@ -840,12 +851,14 @@ abstract class FileBackend { if ( empty( $params['bypassReadOnly'] ) && $this->isReadOnly() ) { return Status::newFatal( 'backend-fail-readonly', $this->name, $this->readOnly ); } + /** @noinspection PhpUnusedLocalVariableInspection */ $scope = $this->getScopedPHPBehaviorForOps(); // try to ignore client aborts return $this->doClean( $params ); } /** * @see FileBackend::clean() + * @param array $params */ abstract protected function doClean( array $params );