Nabila::__toString()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace FizzBuzzDomain\Players;
4
5
use GameDomain\Player\PlayerInterface;
6
use GameDomain\Round\Step\Answer;
7
use GameDomain\Round\Step\Step;
8
use GameDomain\Rule\AbstractRulesSet;
9
10
/**
11
 * Nabila
12
 */
13
final class Nabila implements PlayerInterface
14
{
15
    /**
16
     * {@inheritDoc}
17
     */
18
    public function play(AbstractRulesSet $gameRules, Step $step)
19
    {
20
        return new Answer('Hallo ?!');
21
    }
22
23
    /**
24
     * {@inheritDoc}
25
     */
26
    public function __toString()
27
    {
28
        return 'Nabila';
29
    }
30
}
31