Skip to content

Commit a4947b3

Browse files
committed
Document analytics parameter in observer init for GameControllerBarcodeObserver
1 parent 234ee86 commit a4947b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/POS/Presentation/Barcode Scanning/GameControllerBarcodeObserver.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ final class GameControllerBarcodeObserver {
2727
/// Initializes a new barcode scanner observer.
2828
/// - Parameters:
2929
/// - configuration: The configuration to use for the barcode parser. Defaults to the standard configuration.
30+
/// - analytics: The analytics service for tracking events.
3031
/// - onScan: The closure to be called when a scan is completed.
3132
init(configuration: HIDBarcodeParserConfiguration = .default,
3233
analytics: POSAnalyticsProviding,

0 commit comments

Comments
 (0)