Skip to content

Commit 26f3aed

Browse files
committed
✨ mis a jour des points
1 parent eb6ffa1 commit 26f3aed

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

app/Gamify/Points/AddPhone.php

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,13 @@
66

77
class AddPhone extends PointType
88
{
9-
/**
10-
* Number of points.
11-
*
12-
* @var int
13-
*/
14-
public $points = 20;
9+
public int $points = 5;
1510

16-
/**
17-
* Point constructor.
18-
*
19-
* @param $subject
20-
*/
2111
public function __construct($subject)
2212
{
2313
$this->subject = $subject;
2414
}
2515

26-
/**
27-
* User who will be receive points.
28-
*
29-
* @return mixed
30-
*/
3116
public function payee()
3217
{
3318
return $this->getSubject()->user;

app/Gamify/Points/AddSocialLinks.php

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,13 @@
66

77
class AddSocialLinks extends PointType
88
{
9-
/**
10-
* Number of points.
11-
*
12-
* @var int
13-
*/
14-
public $points = 20;
9+
public int $points = 6;
1510

16-
/**
17-
* Point constructor.
18-
*
19-
* @param $subject
20-
*/
2111
public function __construct($subject)
2212
{
2313
$this->subject = $subject;
2414
}
2515

26-
/**
27-
* User who will be receive points.
28-
*
29-
* @return mixed
30-
*/
3116
public function payee()
3217
{
3318
return $this->getSubject()->user;

0 commit comments

Comments
 (0)