Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / lib / PhpParser / Node / Scalar / MagicConst / Namespace_.php
index 07f5affb6cc1c587af556a5e36f3b7bfb3b6542c..4fabb751af361c4c4828987e76337c0048c21ee7 100644 (file)
@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 namespace PhpParser\Node\Scalar\MagicConst;
 
@@ -6,7 +6,11 @@ use PhpParser\Node\Scalar\MagicConst;
 
 class Namespace_ extends MagicConst
 {
-    public function getName() {
+    public function getName() : string {
         return '__NAMESPACE__';
     }
-}
\ No newline at end of file
+    
+    public function getType() : string {
+        return 'Scalar_MagicConst_Namespace';
+    }
+}