summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CommentStreams/.phan/stubs/SMWDataItem.php')
-rw-r--r--CommentStreams/.phan/stubs/SMWDataItem.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/CommentStreams/.phan/stubs/SMWDataItem.php b/CommentStreams/.phan/stubs/SMWDataItem.php
new file mode 100644
index 00000000..25654174
--- /dev/null
+++ b/CommentStreams/.phan/stubs/SMWDataItem.php
@@ -0,0 +1,38 @@
+<?php
+
+class SMWDataItem {
+ const TYPE_STRING = 0;
+ const TYPE_BLOB = 0;
+ const TYPE_WIKIPAGE = 0;
+
+ /**
+ * @var int
+ */
+ private $type = 0;
+
+ /**
+ * @var Title
+ */
+ private $title = null;
+
+ /**
+ * @return int
+ */
+ public function getDIType() : int {
+ return $this->type;
+ }
+
+ /**
+ * @return string
+ */
+ public function getString() : string {
+ return '';
+ }
+
+ /**
+ * @return Title
+ */
+ public function getTitle() : Title {
+ return $this->title;
+ }
+}