| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\net\port; |
||
| 8 | class http |
||
| 9 | implements |
||
| 10 | port |
||
| 11 | { |
||
| 12 | function recipientOfStringIs(php\string\recipient $recipient) :void |
||
|
|
|||
| 13 | { |
||
| 14 | $recipient->stringIs('80'); |
||
| 15 | } |
||
| 16 | |||
| 17 | function recipientOfIntegerIs(php\integer\recipient $recipient) :void |
||
| 20 | } |
||
| 21 | |||
| 22 | function recipientOfUnsignedIntegeris(php\integer\unsigned\recipient $recipient) :void |
||
| 25 | } |
||
| 26 | } |
||
| 27 |
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.