identical   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 8
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A recipientOfPhpIntegerAsStringIs() 0 8 1
1
<?php namespace norsys\score\php\integer\converter\toString;
2
3
use norsys\score\php;
4
5
class identical
6
	implements
7
		php\integer\converter\toString
8
{
9
	function recipientOfPhpIntegerAsStringIs(php\integer\provider $integer, php\string\recipient $recipient) :void
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
10
	{
11
		$integer
12
			->recipientOfIntegerIs(
13
				new php\integer\recipient\functor(
14
					function($integer) use ($recipient)
15
					{
16
						$recipient->stringIs((string) $integer);
17
					}
18
				)
19
			)
20
		;
21
	}
22
}
23