@@ -107,7 +107,6 @@ discard block |
||
107 | 107 | * @since 2.0 |
108 | 108 | * |
109 | 109 | * @param string $key |
110 | - * @param $default $mixed |
|
111 | 110 | * |
112 | 111 | * @return mixed|false |
113 | 112 | */ |
@@ -155,7 +154,7 @@ discard block |
||
155 | 154 | /** |
156 | 155 | * @since 1.3 |
157 | 156 | * |
158 | - * @param Title $title |
|
157 | + * @param Title|null $title |
|
159 | 158 | * |
160 | 159 | * @return WikiPage |
161 | 160 | */ |
@@ -178,7 +177,7 @@ discard block |
||
178 | 177 | /** |
179 | 178 | * @since 1.3 |
180 | 179 | * |
181 | - * @param Title $title |
|
180 | + * @param Title|null $title |
|
182 | 181 | * |
183 | 182 | * @return User |
184 | 183 | */ |
@@ -200,7 +199,7 @@ discard block |
||
200 | 199 | /** |
201 | 200 | * @since 2.0 |
202 | 201 | * |
203 | - * @param Title $title to get the DBLogReader |
|
202 | + * @param Title|null $title to get the DBLogReader |
|
204 | 203 | * @param string $type which log entries to get (default: approval) |
205 | 204 | * @return DatabaseLogReader |
206 | 205 | */ |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use SMWDIString as DIString; |
8 | 8 | use SESP\PropertyAnnotator; |
9 | 9 | use SESP\AppFactory; |
10 | -use LogReader; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * @private |
@@ -18,7 +18,6 @@ discard block |
||
18 | 18 | private $type; |
19 | 19 | |
20 | 20 | /** |
21 | - * @param AppFactory $appFactory injected AppFactory |
|
22 | 21 | * @param string $titleKey from page name |
23 | 22 | * @param string $type of log (default: approval) |
24 | 23 | */ |
@@ -87,7 +86,7 @@ discard block |
||
87 | 86 | } |
88 | 87 | |
89 | 88 | /** |
90 | - * @return Timestamp |
|
89 | + * @return MWTimestamp|null |
|
91 | 90 | */ |
92 | 91 | public function getDateOfLogEntry() { |
93 | 92 | $this->init(); |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use DatabaseLogEntry; |
6 | 6 | use DatabaseBase; |
7 | 7 | use MWTimestamp; |
8 | -use Title; |
|
9 | 8 | use User; |
10 | 9 | |
11 | 10 | class DatabaseLogReader { |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use SESP\AppFactory; |
6 | 6 | use SESP\PropertyAnnotator; |
7 | -use SESP\DatabaseLogReader; |
|
8 | 7 | use SMW\DIWikiPage; |
9 | -use SMWDataItem as DataItem; |
|
10 | 8 | use SMW\DIProperty; |
11 | 9 | use SMW\SemanticData; |
12 | 10 | use Title; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\DIProperty; |
6 | 6 | use SMW\SemanticData; |
7 | -use SMWDataItem as DataItem; |
|
8 | 7 | use SMWDITime as DITime; |
9 | 8 | use SESP\PropertyAnnotator; |
10 | 9 | use SESP\AppFactory; |