1 | <?php |
||
23 | abstract class Base implements Rule |
||
24 | { |
||
25 | /** |
||
26 | * Rule hint. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $hint; |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | 4 | public function getHint() : string |
|
39 | |||
40 | /** |
||
41 | * @param \SebastianFeldmann\Git\CommitMessage $msg |
||
42 | * @return bool |
||
43 | */ |
||
44 | abstract public function pass(CommitMessage $msg) : bool; |
||
45 | } |
||
46 |