summaryrefslogtreecommitdiffstats
path: root/lib/Db/NewsMapperV2.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-12-08 14:11:39 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-12-08 16:11:17 +0100
commite0edfd0dc593d1c25ffe6db5d4daf187b74887b0 (patch)
tree4d193028914429f805ede9b37be07e805205c518 /lib/Db/NewsMapperV2.php
parent4ee3fcb78113caff9f2b890cb7d1702dc936d81e (diff)
Fix alias usage in v2 mapper
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Db/NewsMapperV2.php')
-rw-r--r--lib/Db/NewsMapperV2.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Db/NewsMapperV2.php b/lib/Db/NewsMapperV2.php
index cbfb84fde..708ef4f73 100644
--- a/lib/Db/NewsMapperV2.php
+++ b/lib/Db/NewsMapperV2.php
@@ -28,7 +28,12 @@ use OCP\AppFramework\Db\Entity;
*/
abstract class NewsMapperV2 extends QBMapper
{
- const TABLE_NAME = '';
+ /**
+ * Name of the table
+ *
+ * @var ?string
+ */
+ const TABLE_NAME = null;
/**
* @var Time