CS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
ff47a21ac2
commit
a442cc5ee7
@ -89,9 +89,9 @@ class PollService {
|
|||||||
* @param $name
|
* @param $name
|
||||||
* @param $choices
|
* @param $choices
|
||||||
* @param $slots_hash
|
* @param $slots_hash
|
||||||
* @return bool
|
|
||||||
* @throws ConcurrentEditionException
|
* @throws ConcurrentEditionException
|
||||||
* @throws ConcurrentVoteException
|
* @throws ConcurrentVoteException
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function updateVote($poll_id, $vote_id, $name, $choices, $slots_hash) {
|
public function updateVote($poll_id, $vote_id, $name, $choices, $slots_hash) {
|
||||||
$poll = $this->findById($poll_id);
|
$poll = $this->findById($poll_id);
|
||||||
@ -112,10 +112,10 @@ class PollService {
|
|||||||
* @param $name
|
* @param $name
|
||||||
* @param $choices
|
* @param $choices
|
||||||
* @param $slots_hash
|
* @param $slots_hash
|
||||||
* @return \stdClass
|
|
||||||
* @throws AlreadyExistsException
|
* @throws AlreadyExistsException
|
||||||
* @throws ConcurrentEditionException
|
* @throws ConcurrentEditionException
|
||||||
* @throws ConcurrentVoteException
|
* @throws ConcurrentVoteException
|
||||||
|
* @return \stdClass
|
||||||
*/
|
*/
|
||||||
function addVote($poll_id, $name, $choices, $slots_hash) {
|
function addVote($poll_id, $name, $choices, $slots_hash) {
|
||||||
$poll = $this->findById($poll_id);
|
$poll = $this->findById($poll_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user