Completed
Push — master ( b58657...5bf628 )
by Zura
02:02
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/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.
src/Traits/Rewardable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * @param null  $reward
15 15
      * @param array $data
16 16
      *
17
-     * @return mixed
17
+     * @return \Illuminate\Support\Collection
18 18
      */
19 19
     public function createCode($amount = 1, $reward = null, array $data = [])
20 20
     {
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
      */
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * @param null  $reward
136 136
      * @param array $data
137 137
      *
138
-     * @return static
138
+     * @return \Illuminate\Support\Collection
139 139
      */
140 140
     public function create($amount = 1, $reward = null, array $data = [])
141 141
     {
Please login to merge, or discard this patch.