Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / lib / PhpParser / Node / FunctionLike.php
index 82569450c1d323480d731cab4cbe4140c3be9352..d574e02082062532729341102712cba4dd96535e 100644 (file)
@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 namespace PhpParser\Node;
 
@@ -11,26 +11,26 @@ interface FunctionLike extends Node
      *
      * @return bool
      */
-    public function returnsByRef();
+    public function returnsByRef() : bool;
 
     /**
      * List of parameters
      *
      * @return Node\Param[]
      */
-    public function getParams();
+    public function getParams() : array;
 
     /**
      * Get the declared return type or null
-     * 
-     * @return null|string|Node\Name|Node\NullableType
+     *
+     * @return null|Identifier|Node\Name|Node\NullableType
      */
     public function getReturnType();
 
     /**
      * The function body
      *
-     * @return Node\Stmt[]
+     * @return Node\Stmt[]|null
      */
     public function getStmts();
 }