Skip to content

Commit

Permalink
[5.x] fix implicitly marking parameter as nullable
Browse files Browse the repository at this point in the history
`Laravel\Telescope\Storage\DatabaseEntriesRepository::__construct()`: Implicitly marking parameter $chunkSize as nullable is deprecated, the explicit nullable type must be used instead
  • Loading branch information
SupianIDz authored Nov 23, 2024
1 parent 6182eaf commit 27e233d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/DatabaseEntriesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DatabaseEntriesRepository implements Contract, ClearableRepository, Prunab
* @param int $chunkSize
* @return void
*/
public function __construct(string $connection, int $chunkSize = null)
public function __construct(string $connection, ?int $chunkSize = null)
{
$this->connection = $connection;

Expand Down

0 comments on commit 27e233d

Please sign in to comment.