@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | interface CreatesWithName |
6 | 6 | { |
7 | - /** |
|
8 | - * Creates and returns a state with the given name |
|
9 | - * |
|
10 | - * @param string $name |
|
11 | - * |
|
12 | - * @return State |
|
13 | - */ |
|
7 | + /** |
|
8 | + * Creates and returns a state with the given name |
|
9 | + * |
|
10 | + * @param string $name |
|
11 | + * |
|
12 | + * @return State |
|
13 | + */ |
|
14 | 14 | public static function named(string $name) : State; |
15 | 15 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | private $name; |
23 | 23 | |
24 | - /** |
|
24 | + /** |
|
25 | 25 | * Instances of states created by the FlyweightState factory method |
26 | 26 | * |
27 | 27 | * @var State[] |
@@ -7,14 +7,14 @@ |
||
7 | 7 | |
8 | 8 | interface TransitionTable |
9 | 9 | { |
10 | - /** |
|
11 | - * Returns the state that would result from applying the provided input |
|
12 | - * to an object with the provided current state. |
|
13 | - * |
|
14 | - * @param State $currentState |
|
15 | - * @param Input $input |
|
16 | - * |
|
17 | - * @return State |
|
18 | - */ |
|
10 | + /** |
|
11 | + * Returns the state that would result from applying the provided input |
|
12 | + * to an object with the provided current state. |
|
13 | + * |
|
14 | + * @param State $currentState |
|
15 | + * @param Input $input |
|
16 | + * |
|
17 | + * @return State |
|
18 | + */ |
|
19 | 19 | public function resolve(State $currentState, Input $input) : State; |
20 | 20 | } |
@@ -23,10 +23,10 @@ |
||
23 | 23 | */ |
24 | 24 | public static function getPattern() : string; |
25 | 25 | |
26 | - /** |
|
27 | - * Configures the pattern to use |
|
28 | - * |
|
29 | - * @param string $pattern |
|
30 | - */ |
|
26 | + /** |
|
27 | + * Configures the pattern to use |
|
28 | + * |
|
29 | + * @param string $pattern |
|
30 | + */ |
|
31 | 31 | public static function usePattern(string $pattern); |
32 | 32 | } |