diff --git a/src/Facades/Promocodes.php b/src/Facades/Promocodes.php index 16bdeb4..5a5494d 100644 --- a/src/Facades/Promocodes.php +++ b/src/Facades/Promocodes.php @@ -6,6 +6,7 @@ class Promocodes extends Facade { + /** * Get the registered name of the component. * diff --git a/src/Model/Promocode.php b/src/Model/Promocode.php index 34afab1..02bc220 100644 --- a/src/Model/Promocode.php +++ b/src/Model/Promocode.php @@ -7,6 +7,7 @@ class Promocode extends Model { + /** * Indicates if the model should be timestamped. * diff --git a/src/Promocodes.php b/src/Promocodes.php index 5bb8c63..014d7ea 100644 --- a/src/Promocodes.php +++ b/src/Promocodes.php @@ -6,6 +6,7 @@ class Promocodes { + /** * Generated codes will be saved here * to be validated later diff --git a/src/PromocodesServiceProvider.php b/src/PromocodesServiceProvider.php index f67c5d9..0acd2dd 100644 --- a/src/PromocodesServiceProvider.php +++ b/src/PromocodesServiceProvider.php @@ -6,8 +6,10 @@ class PromocodesServiceProvider extends ServiceProvider { + /** * Bootstrap the application services. + * * @return void */ public function boot() @@ -23,6 +25,7 @@ public function boot() /** * Register the application services. + * * @return void */ public function register() diff --git a/src/Traits/Rewardable.php b/src/Traits/Rewardable.php index dc78c96..c17d49d 100644 --- a/src/Traits/Rewardable.php +++ b/src/Traits/Rewardable.php @@ -7,6 +7,7 @@ trait Rewardable { + /** * Get the promocodes of current model. * @@ -49,6 +50,7 @@ public function promocode($amount = 1, $reward = null) * * @param $code * @param $callback + * @return bool|float */ public function applyCode($code, $callback) { diff --git a/src/config/promocodes.php b/src/config/promocodes.php index 7c2b4cd..e48e841 100644 --- a/src/config/promocodes.php +++ b/src/config/promocodes.php @@ -1,6 +1,7 @@