Completed
Branch master (0037b6)
by Zura
08:01
created
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|null
138 138
      */
139 139
     public function create($amount = 1, $reward = null)
140 140
     {
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|null
17 17
      */
18 18
     public function createCode($amount = 1, $reward = null)
19 19
     {
Please login to merge, or discard this patch.
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/PromocodesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         );
35 35
 
36 36
         $this->app['promocodes'] = $this->app->share(
37
-            function () {
37
+            function() {
38 38
                 return new Promocodes();
39 39
             }
40 40
         );
Please login to merge, or discard this patch.