@@ -25,32 +25,32 @@ class FunctionObject extends ObjectValue
2525 * Create a function in the current execution context
2626 * for a given FunctionCallback.
2727 *
28- * @param \V8\ Context $context
29- * @param callable $callback
30- * @param int $length
31- * @param int $behavior
28+ * @param Context $context
29+ * @param callable $callback
30+ * @param int $length
31+ * @param int $behavior
3232 */
3333 public function __construct (Context $ context , callable $ callback , int $ length = 0 , int $ behavior = ConstructorBehavior::ALLOW )
3434 {
3535 parent ::__construct ($ context );
3636 }
3737
3838 /**
39- * @param \V8\ Context $context
40- * @param \V8\ Value[] $arguments
39+ * @param Context $context
40+ * @param Value[] $arguments
4141 *
42- * @return \V8\ ObjectValue
42+ * @return ObjectValue
4343 */
4444 public function newInstance (Context $ context , array $ arguments = []): ObjectValue
4545 {
4646 }
4747
4848 /**
49- * @param \V8\ Context $context
50- * @param \V8\ Value $recv
51- * @param \V8\ Value[] $arguments
49+ * @param Context $context
50+ * @param Value $recv
51+ * @param Value[] $arguments
5252 *
53- * @return \V8\ Value
53+ * @return Value|PrimitiveValue|ObjectValue
5454 */
5555 public function call (Context $ context , Value $ recv , array $ arguments = []): Value
5656 {
@@ -64,7 +64,7 @@ public function setName(StringValue $name)
6464 }
6565
6666 /**
67- * @return \V8\ Value | StringValue
67+ * @return Value| StringValue
6868 */
6969 public function getName (): Value
7070 {
@@ -76,7 +76,7 @@ public function getName(): Value
7676 * in an OO style, where many functions are anonymous but are assigned
7777 * to object properties.
7878 *
79- * @return \V8\ Value | StringValue
79+ * @return Value| StringValue
8080 */
8181 public function getInferredName (): Value
8282 {
@@ -86,7 +86,7 @@ public function getInferredName(): Value
8686 * User-defined name assigned to the "displayName" property of this function.
8787 * Used to facilitate debugging and profiling of JavaScript code.
8888 *
89- * @return \V8\ Value | StringValue
89+ * @return Value| StringValue
9090 */
9191 public function getDisplayName (): Value
9292 {
@@ -125,7 +125,7 @@ public function getScriptId(): ?int
125125 /**
126126 * Returns the original function if this function is bound, else returns UndefinedValue.
127127 *
128- * @return FunctionObject|UndefinedValue|Value
128+ * @return Value| FunctionObject|UndefinedValue
129129 */
130130 public function getBoundFunction (): Value
131131 {
0 commit comments