Completed
Branch master (522b77)
by Zura
02:06
created
src/migrations/2016_05_17_221000_create_promocodes_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create(config('promocodes.table', 'promocodes'), function (Blueprint $table) {
15
+        Schema::create(config('promocodes.table', 'promocodes'), function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
 
18 18
             $table->integer('user_id')->unsigned()->nullable();
Please login to merge, or discard this patch.
src/Traits/Rewardable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param int  $amount
14 14
      * @param null $reward
15 15
      *
16
-     * @return mixed
16
+     * @return \Illuminate\Support\Collection
17 17
      */
18 18
     public function createCode($amount = 1, $reward = null)
19 19
     {
Please login to merge, or discard this patch.
src/Promocodes.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * Your code will be validated to be unique for one request.
94 94
      *
95 95
      * @param $collection
96
-     * @param $new
96
+     * @param string $new
97 97
      *
98 98
      * @return bool
99 99
      */
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @param int  $amount
135 135
      * @param null $reward
136 136
      *
137
-     * @return static
137
+     * @return \Illuminate\Support\Collection
138 138
      */
139 139
     public function create($amount = 1, $reward = null)
140 140
     {
Please login to merge, or discard this patch.
src/PromocodesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             __DIR__.'/config/promocodes.php', 'promocodes'
34 34
         );
35 35
 
36
-        $this->app->singleton('promocodes', function ($app) {
36
+        $this->app->singleton('promocodes', function($app) {
37 37
             return new Promocodes();
38 38
         });
39 39
     }
Please login to merge, or discard this patch.