File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
use Illuminate \Support \Facades \DB ;
31
31
use PKP \config \Config ;
32
32
use PKP \context \Context ;
33
+ use PKP \db \DAO ;
33
34
use PKP \db \DAORegistry ;
34
35
use PKP \facades \Locale ;
35
36
use PKP \plugins \Hook ;
@@ -52,7 +53,7 @@ public static function getContextDAO(): \PKP\context\ContextDAO;
52
53
*
53
54
* @hook PKPApplication::execute::catch ['throwable' => $t]
54
55
*/
55
- public static function getRepresentationDAO (): RepresentationDAOInterface ;
56
+ public static function getRepresentationDAO (): DAO | RepresentationDAOInterface ;
56
57
57
58
/**
58
59
* Get a SubmissionSearchIndex instance.
Original file line number Diff line number Diff line change 20
20
use APP \facades \Repo ;
21
21
22
22
/**
23
- * @extends \PKP\core\DataObject<DAO|RepresentationDAOInterface>
23
+ * @extends \PKP\core\DataObject
24
24
*/
25
25
class Representation extends \PKP \core \DataObject
26
26
{
@@ -172,7 +172,7 @@ public function getContextId()
172
172
/**
173
173
* @copydoc \PKP\core\DataObject::getDAO()
174
174
*/
175
- public function getDAO (): \PKP \galley \DAO
175
+ public function getDAO (): \PKP \db \DAO | \ PKP \ core \ EntityDAO
176
176
{
177
177
return Application::getRepresentationDAO ();
178
178
}
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * @file classes/galley/DAO .php
4
+ * @file classes/submission/RepresentationDAOInterface .php
4
5
*
5
6
* Copyright (c) 2014-2021 Simon Fraser University
6
7
* Copyright (c) 2000-2021 John Willinsky
You can’t perform that action at this time.
0 commit comments