Completed
Push — master ( 044584...b58657 )
by Zura
9s
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
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,14 +139,14 @@
 block discarded – undo
139 139
      * @return static
140 140
      */
141 141
     public function create($amount = 1, $reward = null, array $data = [])
142
-=======
142
+=== === =
143 143
      * @param int  $amount
144 144
      * @param null $reward
145 145
      *
146 146
      * @return static
147
-     */
147
+     * /
148 148
     public function create($amount = 1, $reward = null)
149
->>>>>>> 46cd444ffd48ecc5f447fb653487856224e958d6
149
+>> >> >> > 46cd444ffd48ecc5f447fb653487856224e958d6
150 150
     {
151 151
         $records = [];
152 152
 
Please login to merge, or discard this patch.