| @@ -135,11 +135,11 @@ | ||
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | 137 | * Class constructor. |
| 138 | 138 | * |
| 139 | - * @param JDatabase $db The database driver. | |
| 139 | + * @param JDatabase $db The database driver. | |
| 140 | 140 | */ |
| 141 | - public function __construct(JDatabase $dbo = null) | |
| 141 | + public function __construct(?JDatabase $dbo = null) | |
| 142 | 142 | { |
| 143 | 143 | if (is_null($dbo)) |
| 144 | 144 | { |
| 145 | 145 | $dbo = JFactory::getDbo(); |