Skip to content

Commit 039ebbe

Browse files
Line indented incorrectly; と言われた部分を修正
1 parent ddd01ce commit 039ebbe

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/AspectMock/Proxy/Verifier.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,17 @@ public function verifyNeverInvoked($name, $params = null)
151151
$calls = $this->getCallsForMethod($name);
152152
$separator = $this->callSyntax($name);
153153

154-
if (is_array($params)) {
155-
if (empty($calls)) return;
156-
$params = ArgumentsFormatter::toString($params);
157-
foreach ($calls as $args) {
158-
if ($this->onlyExpectedArguments($params, $args) === $params) {
159-
throw new fail(sprintf($this->neverInvoked, $this->className));
160-
}
161-
}
162-
return;
163-
}
164-
if (count($calls)) throw new fail(sprintf($this->neverInvoked, $this->className.$separator.$name));
154+
if (is_array($params)) {
155+
if (empty($calls)) return;
156+
$params = ArgumentsFormatter::toString($params);
157+
foreach ($calls as $args) {
158+
if ($this->onlyExpectedArguments($params, $args) === $params) {
159+
throw new fail(sprintf($this->neverInvoked, $this->className));
160+
}
161+
}
162+
return;
163+
}
164+
if (count($calls)) throw new fail(sprintf($this->neverInvoked, $this->className.$separator.$name));
165165
}
166166

167167
}

0 commit comments

Comments
 (0)