File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ interface ConfigurationInterface
88 CONFIG_RUMVISION_TRACKING_ID = 'elgentos_rumvision/general/tracking_id ' ,
99 CONFIG_RUMVISION_HOST_NAME = 'elgentos_rumvision/general/hostname ' ;
1010
11- public function isEnabled (int $ storeId = null ): bool ;
11+ public function isEnabled (? int $ storeId = null ): bool ;
1212
13- public function getTrackingId (int $ storeId = null ) :string ;
13+ public function getTrackingId (? int $ storeId = null ) :string ;
1414
15- public function getHostName (int $ storeId = null ) :string ;
15+ public function getHostName (? int $ storeId = null ) :string ;
1616
17- }
17+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function __construct(
2121 private State $ appState ,
2222 ) {}
2323
24- public function isEnabled (int $ storeId = null ): bool
24+ public function isEnabled (? int $ storeId = null ): bool
2525 {
2626 if ($ this ->appState ->getMode () === State::MODE_DEVELOPER ) {
2727 // Don't run in developer mode
@@ -35,7 +35,7 @@ public function isEnabled(int $storeId = null): bool
3535 );
3636 }
3737
38- public function getTrackingId (int $ storeId = null ): string
38+ public function getTrackingId (? int $ storeId = null ): string
3939 {
4040 return (string )$ this ->config ->getValue (
4141 self ::CONFIG_RUMVISION_TRACKING_ID ,
@@ -44,7 +44,7 @@ public function getTrackingId(int $storeId = null): string
4444 );
4545 }
4646
47- public function getHostName (int $ storeId = null ): string
47+ public function getHostName (? int $ storeId = null ): string
4848 {
4949 return (string )$ this ->config ->getValue (
5050 self ::CONFIG_RUMVISION_HOST_NAME ,
You can’t perform that action at this time.
0 commit comments