Skip to content

Commit e76630c

Browse files
pndongoclxmstaab
andauthored
PHP8 Improvements (#24)
Co-authored-by: Markus Staab <m.staab@complex-it.de>
1 parent ebf4fc8 commit e76630c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sysmonitor/SystemMonitor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ private function rateAndStore(SystemEvent $sysEvt)
103103
$sysEvt->severity = SystemEvent::SEVERITY_URGENT;
104104

105105
// side note: APC is not available in CLI per default,
106-
// therefore sending it directly is a must do.
107-
// -> $count will not be accurate in CLI and cannot be relied on.
106+
// therefore sending it directly is a must do.
107+
// -> $count will not be accurate in CLI and cannot be relied on.
108108
} elseif ($this->expectsSoap()) {
109109
// .. for our soap-apis
110110
$sysEvt->severity = SystemEvent::SEVERITY_URGENT;

src/sysmonitor/events/RequestExceptionEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class RequestExceptionEvent extends AbstractEvent
88
{
99
/**
10-
* @var \Error|\Exception|SerializableException
10+
* @var \Error|\Exception|\Throwable|SerializableException
1111
*/
1212
public $exception;
1313
}

0 commit comments

Comments
 (0)