Skip to content

Commit 9a1d8e2

Browse files
committed
Fix plain handler bug
1 parent 73c23c5 commit 9a1d8e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PubSubQueue.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public function size($subscriber = null)
7272
*/
7373
public function checkHandler($subscriber)
7474
{
75-
if (array_key_exists('plain_handlers', $this->config)) {
76-
return array_key_exists($subscriber, $this->config['plain_handlers']);
75+
if (array_key_exists('plainHandlers', $this->config)) {
76+
return array_key_exists($subscriber, $this->config['plainHandlers']);
7777
}
7878
return false;
7979
}
@@ -87,7 +87,7 @@ public function checkHandler($subscriber)
8787
*/
8888
public function getHandler($subscriber)
8989
{
90-
return $this->config['plain_handlers'][$subscriber];
90+
return $this->config['plainHandlers'][$subscriber];
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)