summaryrefslogtreecommitdiff
path: root/ext/exif/exif.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/exif/exif.stub.php')
-rw-r--r--ext/exif/exif.stub.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/ext/exif/exif.stub.php b/ext/exif/exif.stub.php
index a878c3c3ff..3fe2e72f66 100644
--- a/ext/exif/exif.stub.php
+++ b/ext/exif/exif.stub.php
@@ -1,13 +1,9 @@
<?php
-/** @return string|false */
-function exif_tagname(int $index) {}
+function exif_tagname(int $index): string|false {}
-/** @return array|false */
-function exif_read_data($filename, ?string $sections_needed = null, bool $sub_arrays = false, bool $read_thumbnail = false) {}
+function exif_read_data($filename, ?string $sections_needed = null, bool $sub_arrays = false, bool $read_thumbnail = false): array|false {}
-/** @return string|false */
-function exif_thumbnail($filename, &$width = null, &$height = null, &$imagetype = null) {}
+function exif_thumbnail($filename, &$width = null, &$height = null, &$imagetype = null): string|false {}
-/** @return int|false */
-function exif_imagetype(string $filename) {}
+function exif_imagetype(string $filename): int|false {}