Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / lib / PhpParser / Node / Scalar / MagicConst / File.php
index db293ef537d2df96f8e36d35fc752fd12252daaf..3422db069238299b04e987b2fa846a5505e8db70 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 File extends MagicConst
 {
-    public function getName() {
+    public function getName() : string {
         return '__FILE__';
     }
-}
\ No newline at end of file
+    
+    public function getType() : string {
+        return 'Scalar_MagicConst_File';
+    }
+}