Skip to content

Commit b66b1d8

Browse files
author
Mariano Custiel
committed
Added annotations
1 parent d707708 commit b66b1d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Extension/Phiremock.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
namespace Codeception\Extension;
2020

2121
use Codeception\Event\SuiteEvent;
22+
use Codeception\Exception\ConfigurationException;
2223
use Codeception\Extension as CodeceptionExtension;
2324
use Codeception\Suite;
2425
use Mcustiel\Phiremock\Codeception\Extension\Config;
@@ -41,6 +42,7 @@ class Phiremock extends CodeceptionExtension
4142
/** @var Config */
4243
private $extensionConfig;
4344

45+
/** @throws ConfigurationException */
4446
public function __construct(
4547
array $config,
4648
array $options,
@@ -99,6 +101,7 @@ private function initProcess(?PhiremockProcessManager $process): void
99101
$this->process = $process ?? new PhiremockProcessManager($this->getOutputCallable());
100102
}
101103

104+
/** @throws ConfigurationException */
102105
private function setDefaultLogsPath(): void
103106
{
104107
if (!isset($this->config['logs_path'])) {

0 commit comments

Comments
 (0)