File tree Expand file tree Collapse file tree 2 files changed +2
-32
lines changed Expand file tree Collapse file tree 2 files changed +2
-32
lines changed Original file line number Diff line number Diff line change 6
6
7
7
class AddPhone extends PointType
8
8
{
9
- /**
10
- * Number of points.
11
- *
12
- * @var int
13
- */
14
- public $ points = 20 ;
9
+ public int $ points = 5 ;
15
10
16
- /**
17
- * Point constructor.
18
- *
19
- * @param $subject
20
- */
21
11
public function __construct ($ subject )
22
12
{
23
13
$ this ->subject = $ subject ;
24
14
}
25
15
26
- /**
27
- * User who will be receive points.
28
- *
29
- * @return mixed
30
- */
31
16
public function payee ()
32
17
{
33
18
return $ this ->getSubject ()->user ;
Original file line number Diff line number Diff line change 6
6
7
7
class AddSocialLinks extends PointType
8
8
{
9
- /**
10
- * Number of points.
11
- *
12
- * @var int
13
- */
14
- public $ points = 20 ;
9
+ public int $ points = 6 ;
15
10
16
- /**
17
- * Point constructor.
18
- *
19
- * @param $subject
20
- */
21
11
public function __construct ($ subject )
22
12
{
23
13
$ this ->subject = $ subject ;
24
14
}
25
15
26
- /**
27
- * User who will be receive points.
28
- *
29
- * @return mixed
30
- */
31
16
public function payee ()
32
17
{
33
18
return $ this ->getSubject ()->user ;
You can’t perform that action at this time.
0 commit comments