| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\php\integer; |
||
| 5 | class any |
||
| 6 | implements |
||
| 7 | php\integer\provider |
||
| 8 | { |
||
| 9 | private |
||
| 10 | $integer |
||
| 11 | ; |
||
| 12 | |||
| 13 | function __construct(int $integer) |
||
| 16 | } |
||
| 17 | |||
| 18 | function recipientOfStringIs(php\string\recipient $recipient) :void |
||
| 21 | } |
||
| 22 | |||
| 23 | function recipientOfIntegerIs(php\integer\recipient $recipient) :void |
||
| 28 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.