Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dev: Fixed undefined classes (#905)
  • Loading branch information
TonisOrmisson authored and c-schmitz committed Dec 29, 2017
1 parent 0fb537f commit 4a2d3f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions application/models/Participant.php
Expand Up @@ -727,14 +727,14 @@ public function getParticipantsSharedCount($userid)
}

/**
* @param int $page
* @param int $limit
* @param integer $page
* @param integer $limit
* @param array $attid
* @param order
* @param search
* @param userid
* @param string $order
* @param string|null $order
* @param CDbCriteria $search
* @param integer $userid
* @return array
* @throws CException
*/
public function getParticipants($page, $limit, $attid, $order = null, $search = null, $userid = null)
{
Expand Down
8 changes: 4 additions & 4 deletions application/models/SettingsUser.php
Expand Up @@ -72,9 +72,9 @@ public function attributeLabels()
* @param string $stg_name
* @param integer $stg_value
* @param integer $uid | Can be omitted to just take the currently logged in users id
* @param type $entity | optional defaults to 'null'
* @param type $entity_id | optional defaults to 'null'
* @return boolean | Saving success/failure
* @param string $entity | optional defaults to 'null'
* @param integer $entity_id | optional defaults to 'null'
* @return boolean Saving success/failure
*/

public static function setUserSetting($stg_name, $stg_value, $uid = null, $entity = null, $entity_id = null)
Expand Down Expand Up @@ -105,7 +105,7 @@ public static function setUserSetting($stg_name, $stg_value, $uid = null, $entit
* @param integer $uid | Can be omitted to just take the currently logged in users id
* @param string $entity | optional defaults to 'null'
* @param integer $entity_id | optional defaults to 'null'
* @return SettingsUser | The current settings Object
* @return SettingsUser The current settings Object
*/
public static function getUserSetting($stg_name, $uid = null, $entity = null, $entity_id = null)
{
Expand Down
3 changes: 2 additions & 1 deletion application/models/Survey.php
Expand Up @@ -1792,9 +1792,10 @@ public function getCountInputQuestions()

/**
* Returns true if this survey has any question of type $type.
* @param char $type Question type, like 'L', 'T', etc.
* @param string $type Question type, like 'L', 'T', etc.
* @param boolean $includeSubquestions If true, will also check the types of subquestions.
* @return boolean
* @throws CException
*/
public function hasQuestionType($type, $includeSubquestions = false)
{
Expand Down

0 comments on commit 4a2d3f5

Please sign in to comment.