Skip to content

Commit

Permalink
Merge pull request #38245 from laravel/php81-fixes
Browse files Browse the repository at this point in the history
[8.x] PHP 8.1 fixes
  • Loading branch information
driesvints authored Aug 5, 2021
2 parents f1427d1 + a31b48a commit 7544a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Http/Testing/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public function size($kilobytes)
*
* @return int
*/
#[\ReturnTypeWillChange]
public function getSize()
{
return $this->sizeToReport ?: parent::getSize();
Expand Down

0 comments on commit 7544a46

Please sign in to comment.