Skip to content

Commit adb0c69

Browse files
authored
Merge pull request #3 from Peter-Programic/patch-2
Added license to InvalidLicenseException
2 parents 9ffce43 + f6487cf commit adb0c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RdwApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function find(string $license, array $types)
4747
$license = $this->formatLicense($license);
4848

4949
if (strlen($license) !== 6) {
50-
throw new InvalidLicenseException();
50+
throw new InvalidLicenseException($license);
5151
}
5252

5353
$data = [];

0 commit comments

Comments
 (0)