Skip to content

Commit d6cfd79

Browse files
authored
Merge pull request #66 from openaustralia/fix/constructors-return
constructors shouldn't return values
2 parents a4a15db + 19dd9f8 commit d6cfd79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/includes/easyparliament/searchengine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class SEARCHENGINE {
6666
*/
6767
public function __construct($query) {
6868
if (!defined('XAPIANDB') || !XAPIANDB) {
69-
return NULL;
69+
return;
7070
}
7171

7272
$this->query = $query;

0 commit comments

Comments
 (0)