File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11The MIT License (MIT)
2- Copyright (c) 2017 Kotliar Maksym
2+ Copyright (c) 2018 Forma-Pro
33
44Permission is hereby granted, free of charge, to any person obtaining a copy
55of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1- # Web Application Messaging Protocol Transport
1+ # Web Application Messaging Protocol (WAMP) Transport
22
33[ ![ Gitter] ( https://badges.gitter.im/php-enqueue/Lobby.svg )] ( https://gitter.im/php-enqueue/Lobby )
44[ ![ Build Status] ( https://travis-ci.org/php-enqueue/wamp.png?branch=master )] ( https://travis-ci.org/php-enqueue/wamp )
Original file line number Diff line number Diff line change @@ -99,7 +99,12 @@ public function receive(int $timeout = 0): ?Message
9999
100100 $ this ->client ->getLoop ()->run ();
101101
102- return $ this ->message ?: null ;
102+ $ message = $ this ->message ;
103+
104+ $ this ->timer = null ;
105+ $ this ->message = null ;
106+
107+ return $ message ;
103108 }
104109
105110 public function receiveNoWait (): ?Message
Original file line number Diff line number Diff line change 88 "require" : {
99 "php" : " ^7.1.3" ,
1010 "queue-interop/queue-interop" : " 0.7.x-dev" ,
11+ "enqueue/dsn" : " 0.9.x-dev" ,
1112 "thruway/pawl-transport" : " ^0.5.0" ,
1213 "voryx/thruway" : " ^0.5.3"
1314 },
You can’t perform that action at this time.
0 commit comments