Skip to content

Commit a1f1c0e

Browse files
authored
Add missing return types in annotations (#923)
1 parent bbc79fe commit a1f1c0e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Fix internal deprecations in Doctrine's populator by @gnutix in (#889)
1111
- Fix mobile phone number pattern for France by @ker0x in (#859)
1212
- PHP 8.4 Support by @Jubeki in (#904)
13+
- Add missing return type in annotations (#923)
1314

1415
- Added support for PHP 8.4 (#904)
1516

src/Faker/Generator.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ public function parse($string)
763763
* Get a random MIME type
764764
*
765765
* @example 'video/avi'
766+
*
767+
* @return string
766768
*/
767769
public function mimeType()
768770
{
@@ -773,6 +775,8 @@ public function mimeType()
773775
* Get a random file extension (without a dot)
774776
*
775777
* @example avi
778+
*
779+
* @return string
776780
*/
777781
public function fileExtension()
778782
{
@@ -781,6 +785,8 @@ public function fileExtension()
781785

782786
/**
783787
* Get a full path to a new real file on the system.
788+
*
789+
* @return string
784790
*/
785791
public function filePath()
786792
{

0 commit comments

Comments
 (0)