Skip to content

Commit

Permalink
Nullable param
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Jan 20, 2025
1 parent 40b20c6 commit fc3d70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function seed(): string
*
* @throws Exception
*/
public function backup(string $path = null): void
public function backup(?string $path): void
{
$path = $path ?? APPPATH . '/../storage/backups';

Expand Down

0 comments on commit fc3d70a

Please sign in to comment.