Skip to content

Commit

Permalink
Fixed typed property error
Browse files Browse the repository at this point in the history
  • Loading branch information
balazscsaba2006 committed Oct 5, 2022
1 parent 7b697af commit 24adc48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pluginName":"Cookiebot","pluginDescription":"CookieBot integration into Craft CMS.","pluginVersion":"2.1.0","pluginAuthorName":"Human Direct","pluginVendorName":"humandirect","pluginAuthorUrl":"https://humandirect.eu","pluginAuthorGithub":"","codeComments":"yes","pluginComponents":["services","utilities","variables"],"consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
{"pluginName":"Cookiebot","pluginDescription":"CookieBot integration into Craft CMS.","pluginVersion":"2.1.1","pluginAuthorName":"Human Direct","pluginVendorName":"humandirect","pluginAuthorUrl":"https://humandirect.eu","pluginAuthorGithub":"","codeComments":"yes","pluginComponents":["services","utilities","variables"],"consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
2 changes: 1 addition & 1 deletion src/services/CookiebotService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class CookiebotService extends Component
{
private const COOKIE_NAME = 'CookieConsent';
private ?\stdClass $cookieConsent;
private ?\stdClass $cookieConsent = null;

/**
* @return bool
Expand Down

0 comments on commit 24adc48

Please sign in to comment.