Skip to content
Snippets Groups Projects

Issue #3251972: Make `\Drupal\package_manager\Stage::getStageDirectory` public

Merged Issue #3251972: Make `\Drupal\package_manager\Stage::getStageDirectory` public
1 unresolved thread
1 unresolved thread
Files
2
@@ -435,7 +435,7 @@ class Stage {
@@ -435,7 +435,7 @@ class Stage {
*
*
* @todo Make this method public in https://www.drupal.org/i/3251972.
* @todo Make this method public in https://www.drupal.org/i/3251972.
*/
*/
protected function getStageDirectory(): string {
public function getStageDirectory(): string {
if (!$this->lock) {
if (!$this->lock) {
throw new \LogicException(__METHOD__ . '() cannot be called because the stage has not been created or claimed.');
throw new \LogicException(__METHOD__ . '() cannot be called because the stage has not been created or claimed.');
}
}
Loading