no::recipientOfStringIs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php namespace norsys\score\composer\depedency\version\range\bc;
2
3
use norsys\score\{ composer\depedency\version, php };
4
5
class no
6
	implements
7
		version
8
{
9
	private
10
		$version
11
	;
12
13
	function __construct(version $version)
14
	{
15
		$this->version = $version;
16
	}
17
18
	function recipientOfStringIs(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...
19
	{
20
		$this->version
21
			->recipientOfStringIs(
22
				new php\string\recipient\prefix('^', $recipient)
23
			)
24
		;
25
	}
26
}
27