@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | 6 | use Tylercd100\License\Exceptions\LicenseException; |
7 | -use Tylercd100\License\Models\License as LicenseModel; |
|
8 | 7 | use Tylercd100\License\HasLicenses; |
8 | +use Tylercd100\License\Models\License as LicenseModel; |
|
9 | 9 | |
10 | 10 | abstract class License |
11 | 11 | { |
@@ -140,8 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Called when there are not enough licenses available |
142 | 142 | * |
143 | - * @param int $remaining |
|
144 | - * @param int $quantity |
|
143 | + * @param string $message |
|
145 | 144 | * @return void |
146 | 145 | */ |
147 | 146 | protected function error($message) |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * |
27 | 27 | * @param string $class The License class you want to work with |
28 | 28 | * @param int $quantity The amount of licenses you want to attempt to use |
29 | - * @param boolean $add If true then it will increase the maximum available licenses |
|
30 | 29 | * @return self |
31 | 30 | */ |
32 | 31 | public function licensesDeallocate($class, $quantity, $sub = false) |