aboutsummaryrefslogtreecommitdiffstats
path: root/includes/parser/PPNode_Hash_Attr.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/parser/PPNode_Hash_Attr.php')
-rw-r--r--includes/parser/PPNode_Hash_Attr.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/parser/PPNode_Hash_Attr.php b/includes/parser/PPNode_Hash_Attr.php
index fc5edcf84547..69f063eb574f 100644
--- a/includes/parser/PPNode_Hash_Attr.php
+++ b/includes/parser/PPNode_Hash_Attr.php
@@ -19,6 +19,12 @@
* @ingroup Parser
*/
+namespace MediaWiki\Parser;
+
+use InvalidArgumentException;
+use LogicException;
+use Stringable;
+
/**
* @ingroup Parser
*/
@@ -99,3 +105,6 @@ class PPNode_Hash_Attr implements Stringable, PPNode {
throw new LogicException( __METHOD__ . ': not supported' );
}
}
+
+/** @deprecated class alias since 1.43 */
+class_alias( PPNode_Hash_Attr::class, 'PPNode_Hash_Attr' );