* Modify return type of tutorialModel::getTutorialed, and modify its unit test.
This commit is contained in:
@@ -466,9 +466,9 @@ class tutorialModel extends model
|
||||
* Get tutorialed.
|
||||
*
|
||||
* @access public
|
||||
* @return object
|
||||
* @return string
|
||||
*/
|
||||
public function getTutorialed(): object
|
||||
public function getTutorialed(): string
|
||||
{
|
||||
return $this->dao->select('*')->from(TABLE_CONFIG)->where('module')->eq('tutorial')->andWhere('owner')->eq($this->app->user->account)->andWhere('section')->eq('tasks')->andWhere('`key`')->eq('setting')->fetch('value');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user