Skip to content

Commit

Permalink
rename trait
Browse files Browse the repository at this point in the history
  • Loading branch information
hsldymq committed Apr 24, 2019
1 parent cfc3ce5 commit f1cba4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
class Dispatcher extends AbstractMaster implements ConsumerHandlerInterface
{
use EventEmitterTrait;
use TailingEventEmitterTrait;

const STATE_RUNNING = 1;
const STATE_FLUSHING = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Archman\BugsBunny;

trait EventEmitterTrait
trait TailingEventEmitterTrait
{
public function emit($event, array $arguments = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
class Worker extends AbstractWorker
{
use EventEmitterTrait;
use TailingEventEmitterTrait;

const STATE_RUNNING = 1;
const STATE_SHUTTING = 2;
Expand Down

0 comments on commit f1cba4f

Please sign in to comment.