Stream.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpFoundation\File; |
| 12 | |
| 13 | /** |
| 14 | * A PHP stream of unknown size. |
| 15 | * |
| 16 | * @author Nicolas Grekas <p@tchwork.com> |
| 17 | */ |
| 18 | class Stream extends File |
| 19 | { |
| 20 | /** |
| 21 | * {@inheritdoc} |
| 22 | * |
| 23 | * @return int|false |
| 24 | */ |
| 25 | #[\ReturnTypeWillChange] |
| 26 | public function getSize() |
| 27 | { |
| 28 | return \false; |
| 29 | } |
| 30 | } |
| 31 |