diff --git a/SPL/SPL_c1.php b/SPL/SPL_c1.php index cea492540..64892bf1a 100644 --- a/SPL/SPL_c1.php +++ b/SPL/SPL_c1.php @@ -84,6 +84,7 @@ public function getPerms(): int|false {} * @link https://php.net/manual/en/splfileinfo.getinode.php * @return int|false The inode number for the filesystem object on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getInode(): int|false {} @@ -93,6 +94,7 @@ public function getInode(): int|false {} * @link https://php.net/manual/en/splfileinfo.getsize.php * @return int|false The filesize in bytes on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getSize(): int|false {} @@ -102,6 +104,7 @@ public function getSize(): int|false {} * @link https://php.net/manual/en/splfileinfo.getowner.php * @return int|false The owner id in numerical format on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getOwner(): int|false {} @@ -111,6 +114,7 @@ public function getOwner(): int|false {} * @link https://php.net/manual/en/splfileinfo.getgroup.php * @return int|false The group id in numerical format on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getGroup(): int|false {} @@ -120,6 +124,7 @@ public function getGroup(): int|false {} * @link https://php.net/manual/en/splfileinfo.getatime.php * @return int|false The time the file was last accessed on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getATime(): int|false {} @@ -138,6 +143,7 @@ public function getMTime(): int|false {} * @link https://php.net/manual/en/splfileinfo.getctime.php * @return int|false The last change time, in a Unix timestamp on success, or FALSE on failure. * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getCTime(): int|false {} @@ -149,6 +155,7 @@ public function getCTime(): int|false {} * May be one of file, link, * or dir * @since 5.1.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getType(): string|false {} @@ -212,6 +219,7 @@ public function isLink(): bool {} * @link https://php.net/manual/en/splfileinfo.getlinktarget.php * @return string|false The target of the filesystem link on success, or FALSE on failure. * @since 5.2.2 + * @throws \RuntimeException on error. */ #[TentativeType] public function getLinkTarget(): string|false {} @@ -227,11 +235,12 @@ public function getRealPath(): string|false {} /** * Gets an SplFileInfo object for the file + * @template T of SplFileInfo * @link https://php.net/manual/en/splfileinfo.getfileinfo.php - * @param string $class [optional]
+ * @param class-string
* Name of an SplFileInfo derived class to use.
*
+ * @param class-string
* Name of an SplFileInfo derived class to use.
*
+ * @param class-string
* The class name to use when openFile() is called.
*
+ * @param class-string
* The class name to use.
*