Skip to content

Commit de47c61

Browse files
committed
Allow instantiate without CUIT
1 parent 8e6c001 commit de47c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Afip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function __construct($options)
7272
ini_set("soap.wsdl_cache_enabled", "0");
7373

7474
if (!isset($options['CUIT'])) {
75-
throw new Exception("CUIT field is required in options array");
75+
$this->CUIT = NULL;
7676
} else {
7777
$this->CUIT = $options['CUIT'];
7878
}

0 commit comments

Comments
 (0)