Skip to content

Commit

Permalink
chore: add missing parameter type
Browse files Browse the repository at this point in the history
Add missing parameter type to Database::class constructor
  • Loading branch information
dfranco committed Dec 28, 2023
1 parent 4f2bedd commit d53bd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/db/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Database
* @param int $catalogId
* @throws \Exception
*/
public function __construct($catalogId = null)
public function __construct(int $catalogId = null)
{
$username = null;
$password = null;
Expand Down

0 comments on commit d53bd3f

Please sign in to comment.