Skip to content

Commit 8534df1

Browse files
committed
Clarify mime type parameter in File DTO docblock
Updated the docblock for the type parameter in the File DTO to specify that it expects a mime type (e.g. 'image', 'text', 'video', 'audio'). This improves code documentation and developer understanding.
1 parent 6d2f700 commit 8534df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files/DTO/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function isText(): bool
291291
*
292292
* @since n.e.x.t
293293
*
294-
* @param string $type The type to check.
294+
* @param string $type The mime type to check (e.g. 'image', 'text', 'video', 'audio').
295295
*
296296
* @return bool True if the file is of the specified type.
297297
*/

0 commit comments

Comments
 (0)