This repository was archived by the owner on Mar 29, 2024. It is now read-only.
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ public function getIsolate(): Isolate
42
42
/**
43
43
* Adds a property to each instance created by this template.
44
44
*
45
- * @param NameValue $name
46
- * @param PrimitiveValue|Template $value
47
- * @param int $attributes One of \v8 \PropertyAttribute constants
45
+ * @param NameValue $name
46
+ * @param Data| PrimitiveValue|Template $value
47
+ * @param int $attributes One of \V8 \PropertyAttribute constants
48
48
*
49
49
* @return void
50
50
*/
51
- public function set (NameValue $ name , /* Data*/ $ value , int $ attributes = PropertyAttribute::None)
51
+ public function set (NameValue $ name , Data $ value , int $ attributes = PropertyAttribute::None)
52
52
{
53
53
}
54
54
@@ -77,8 +77,8 @@ public function setAccessorProperty(
77
77
* @param NameValue $name The name of the property for which an accessor is added.
78
78
*
79
79
* @param callable $getter The callback to invoke when getting the property.
80
- *
81
80
* Callback signature should be (NameValue $property, PropertyCallbackInfo $info)
81
+ *
82
82
* @param callable $setter The callback to invoke when setting the property.
83
83
* Callback signature should be (NameValue $property, PropertyCallbackInfo $info)
84
84
*
You can’t perform that action at this time.
0 commit comments