public function setSignatureAlgorithm(int $algo, ?string $privateKey = null) {}
/**
- * @param resource $stub
+ * @param resource|string $stub
* @return bool
*/
- public function setStub($stub, int $length = -1) {}
+ public function setStub($stub, int $length = UNKNOWN) {}
/** @return void */
public function startBuffering() {}
public function setSignatureAlgorithm(int $algo, ?string $privateKey = null) {}
/**
- * @param resource $newstub
+ * @param resource|string $stub
* @return bool
* @implementation-alias Phar::setStub
*/
- public function setStub($newstub, int $maxlen = -1) {}
+ public function setStub($stub, int $length = UNKNOWN) {}
/**
* @return void
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: e06a2ea3d97778e61aca0f91fda7b72c29ef171d */
+ * Stub hash: 05d4689eb65b244c41c68c13ff39feca6a79a7e1 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar_setStub, 0, 0, 1)
ZEND_ARG_INFO(0, stub)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
+ ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_Phar_startBuffering arginfo_class_Phar___destruct
#define arginfo_class_PharData_setSignatureAlgorithm arginfo_class_Phar_setSignatureAlgorithm
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharData_setStub, 0, 0, 1)
- ZEND_ARG_INFO(0, newstub)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxlen, IS_LONG, 0, "-1")
-ZEND_END_ARG_INFO()
+#define arginfo_class_PharData_setStub arginfo_class_Phar_setStub
#define arginfo_class_PharData_startBuffering arginfo_class_Phar___destruct