IConfigProvider
last analyzed

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
getConfig() 0 1 ?
1
<?php
2
3
namespace Htsl\Helper;
4
5
////////////////////////////////////////////////////////////////
6
7
interface IConfigProvider
8
{
9
	/**
10
	 * Getting configuration with cascaded keys.
11
	 *
12
	 * @access public
13
	 *
14
	 * @param  string ...$key
15
	 *
16
	 * @return mixed
17
	 */
0 ignored issues
show
Documentation introduced by
Should the type for parameter $key not be string[]?

This check looks for @param annotations where the type inferred by our type inference engine differs from the declared type.

It makes a suggestion as to what type it considers more descriptive.

Most often this is a case of a parameter that can be null in addition to its declared types.

Loading history...
18
	public function getConfig( string...$key );
19
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
20