@@ -221,6 +221,11 @@ |
||
| 221 | 221 | return $response->withJSON($res, 500); |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | + /** |
|
| 225 | + * @param string $status |
|
| 226 | + * @param Data\Filter $filter |
|
| 227 | + * @param Data\DataTable $dataTable |
|
| 228 | + */ |
|
| 224 | 229 | protected function doSignup($uid, $status, $entity, $filter, $dataTable) |
| 225 | 230 | { |
| 226 | 231 | if(isset($entity['earlyLate']) && $entity['earlyLate'] !== '-1') |
@@ -6,6 +6,9 @@ discard block |
||
| 6 | 6 | parent::__construct($departmentID, $dbData, 'events', '_id'); |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param integer $eeListIndex |
|
| 11 | + */ |
|
| 9 | 12 | public function hasVolOnEEList($uid, $eeListIndex) |
| 10 | 13 | { |
| 11 | 14 | if($eeListIndex === 1 || $eeListIndex === 0) |
@@ -28,6 +31,9 @@ discard block |
||
| 28 | 31 | return false; |
| 29 | 32 | } |
| 30 | 33 | |
| 34 | + /** |
|
| 35 | + * @param integer $eeListIndex |
|
| 36 | + */ |
|
| 31 | 37 | public function addToEEList($uid, $eeListIndex) |
| 32 | 38 | { |
| 33 | 39 | if(!isset($this->dbData['eeLists'])) |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | if($eeListIndex === 1 || $eeListIndex === 0) |
| 12 | 12 | { |
| 13 | 13 | //Check earlier EE lists too |
| 14 | - $val = $this->hasVolOnEEList($uid, $eeListIndex+1); |
|
| 14 | + $val = $this->hasVolOnEEList($uid, $eeListIndex + 1); |
|
| 15 | 15 | if($val === true) |
| 16 | 16 | { |
| 17 | 17 | return true; |