@@ -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 | */ |
@@ -31,7 +31,6 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Constructor for reading the log. |
33 | 33 | * |
34 | - * @param AppFactory $appFactory injected AppFactory |
|
35 | 34 | * @param Title $title page |
36 | 35 | * @param string $type of log (default: approval) |
37 | 36 | */ |
@@ -104,7 +103,7 @@ discard block |
||
104 | 103 | /** |
105 | 104 | * Get the date of the last entry in the log for this page |
106 | 105 | * |
107 | - * @return Timestamp |
|
106 | + * @return MWTimestamp|null |
|
108 | 107 | */ |
109 | 108 | public function getDate() { |
110 | 109 | $this->init(); |