GrumblerAchieve   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 25
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
/**
3
 * This file is part of GitterBot package.
4
 *
5
 * @author Serafim <[email protected]>
6
 * @date 11.10.2015 6:07
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace Domains\Bot\Achievements;
12
13
use Domains\Karma;
14
use Interfaces\Gitter\Achieve\AbstractAchieve;
15
16
/**
17
 * Class GrumblerAchieve
18
 */
19
class GrumblerAchieve extends AbstractAchieve
20
{
21
    /**
22
     * @var string
23
     */
24
    public $title = 'Почётный ворчун';
25
26
    /**
27
     * @var string
28
     */
29
    public $description = 'Заворчит вас до смерти';
30
31
    /**
32
     * @var string
33
     */
34
    public $image = '//karma.laravel.su/img/achievements/grumbler.gif';
35
36
    /**
37
     * @throws \LogicException
38
     */
39
    public function handle()
40
    {
41
        // This special achievement
42
    }
43
}
44