Skip to content

Commit 5a47d01

Browse files
committed
Fixed exception message
1 parent 32a2a2d commit 5a47d01

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ExtEventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class ExtEventLoop implements LoopInterface
4040
public function __construct(EventBaseConfig $config = null)
4141
{
4242
if (!class_exists('EventBase', false)) {
43-
throw new BadMethodCallException('Cannot ExtEventLoop, ext-event extension missing');
43+
throw new BadMethodCallException('Cannot create ExtEventLoop, ext-event extension missing');
4444
}
4545

4646
$this->eventBase = new EventBase($config);

src/ExtLibevLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class ExtLibevLoop implements LoopInterface
3838
public function __construct()
3939
{
4040
if (!class_exists('libev\EventLoop', false)) {
41-
throw new BadMethodCallException('CannotExtLibevLoop, ext-libev extension missing');
41+
throw new BadMethodCallException('Cannot create ExtLibevLoop, ext-libev extension missing');
4242
}
4343

4444
$this->loop = new EventLoop();

src/ExtLibeventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final class ExtLibeventLoop implements LoopInterface
5454
public function __construct()
5555
{
5656
if (!function_exists('event_base_new')) {
57-
throw new BadMethodCallException('CannotExtLibeventLoop, ext-libevent extension missing');
57+
throw new BadMethodCallException('Cannot create ExtLibeventLoop, ext-libevent extension missing');
5858
}
5959

6060
$this->eventBase = event_base_new();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy