Skip to content

Commit

Permalink
Add missing return types in annotations (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
odolbeau authored Dec 13, 2024
1 parent bbc79fe commit a1f1c0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix internal deprecations in Doctrine's populator by @gnutix in (#889)
- Fix mobile phone number pattern for France by @ker0x in (#859)
- PHP 8.4 Support by @Jubeki in (#904)
- Add missing return type in annotations (#923)

- Added support for PHP 8.4 (#904)

Expand Down
6 changes: 6 additions & 0 deletions src/Faker/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ public function parse($string)
* Get a random MIME type
*
* @example 'video/avi'
*
* @return string
*/
public function mimeType()
{
Expand All @@ -773,6 +775,8 @@ public function mimeType()
* Get a random file extension (without a dot)
*
* @example avi
*
* @return string
*/
public function fileExtension()
{
Expand All @@ -781,6 +785,8 @@ public function fileExtension()

/**
* Get a full path to a new real file on the system.
*
* @return string
*/
public function filePath()
{
Expand Down

0 comments on commit a1f1c0e

Please sign in to comment.