mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Re-dump autoloader and composer.lock
This commit is contained in:
@@ -115,7 +115,7 @@ class Section
|
||||
public function stopEvent(string $name): StopwatchEvent
|
||||
{
|
||||
if (!isset($this->events[$name])) {
|
||||
throw new \LogicException(sprintf('Event "%s" is not started.', $name));
|
||||
throw new \LogicException(\sprintf('Event "%s" is not started.', $name));
|
||||
}
|
||||
|
||||
return $this->events[$name]->stop();
|
||||
@@ -139,7 +139,7 @@ class Section
|
||||
public function getEvent(string $name): StopwatchEvent
|
||||
{
|
||||
if (!isset($this->events[$name])) {
|
||||
throw new \LogicException(sprintf('Event "%s" is not known.', $name));
|
||||
throw new \LogicException(\sprintf('Event "%s" is not known.', $name));
|
||||
}
|
||||
|
||||
return $this->events[$name];
|
||||
|
||||
Reference in New Issue
Block a user