summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/.phan/stubs/metayaml.php')
-rw-r--r--MLEB/Translate/.phan/stubs/metayaml.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/MLEB/Translate/.phan/stubs/metayaml.php b/MLEB/Translate/.phan/stubs/metayaml.php
new file mode 100644
index 00000000..2f0007e8
--- /dev/null
+++ b/MLEB/Translate/.phan/stubs/metayaml.php
@@ -0,0 +1,42 @@
+<?php
+
+/**
+ * stub for suggested romaricdrigon/metayaml
+ * @phpcs:disable MediaWiki.Files.ClassMatchesFilename
+ */
+
+namespace RomaricDrigon\MetaYaml;
+
+class MetaYaml {
+
+ public function __construct( array $schema, $validate = false ) {
+ }
+
+ /**
+ * @return bool
+ */
+ public function validateSchema() {
+ }
+
+ /**
+ * @return array
+ */
+ public function getSchema() {
+ }
+
+ /**
+ * @param array $data
+ * @return bool
+ */
+ public function validate( array $data ) {
+ }
+
+ /**
+ * @param array $keys
+ * @param bool $unfold_all
+ * @return array
+ */
+ public function getDocumentationForNode( array $keys = [], $unfold_all = false ) {
+ }
+
+}