Skip to content

Commit d8c0de6

Browse files
committed
🔀 Merge branch 'badges-reputations' of https://github.com/laravelcm/laravel.cm into badges-reputations
2 parents e71799a + 26b26da commit d8c0de6

9 files changed

+23
-23
lines changed

app/Gamify/Points/AddPhone.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class AddPhone extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

app/Gamify/Points/AddSocialLinks.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class AddSocialLinks extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

app/Gamify/Points/BestReply.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class BestReply extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

app/Gamify/Points/CommentCreated.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class CommentCreated extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

app/Gamify/Points/ReplyCreated.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class ReplyCreated extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

app/Gamify/Points/UndoBestReply.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class UndoBestReply extends PointType
88
{
99
/**
10-
* Number of points
10+
* Number of points.
1111
*
1212
* @var int
1313
*/
1414
public $points = 20;
1515

1616
/**
17-
* Point constructor
17+
* Point constructor.
1818
*
1919
* @param $subject
2020
*/
@@ -24,7 +24,7 @@ public function __construct($subject)
2424
}
2525

2626
/**
27-
* User who will be receive points
27+
* User who will be receive points.
2828
*
2929
* @return mixed
3030
*/

config/gamify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
],
3434

3535
// Default level
36-
'badge_default_level' => 1
36+
'badge_default_level' => 1,
3737
];

database/migrations/2022_01_15_201921_add_reputation_field_on_user_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class AddReputationFieldOnUserTable extends Migration
88
{

database/migrations/2022_01_15_201921_create_gamify_tables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateGamifyTables extends Migration
88
{

0 commit comments

Comments
 (0)