Skip to content

Commit

Permalink
test signature must be compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Jan 24, 2023
1 parent c409630 commit 41b781b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/candidate_parameters/php/module.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ class Module extends \Module
*
* @return \LORIS\Data\Query\QueryEngine
*/
public function getQueryEngine() : \LORIS\Data\Query\QueryEngine {
public function getQueryEngine() : \LORIS\Data\Query\QueryEngine
{
return new CandidateQueryEngine($this->loris);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CandidateQueryEngineTest extends TestCase
*
* @return void
*/
function setUp()
function setUp() : void
{
$this->factory = NDB_Factory::singleton();
$this->factory->reset();
Expand Down Expand Up @@ -116,7 +116,7 @@ function setUp()
*
* @return void
*/
function tearDown()
function tearDown() : void
{
$this->DB->run("DROP TEMPORARY TABLE IF EXISTS candidate");
}
Expand Down

0 comments on commit 41b781b

Please sign in to comment.