Completed
Push — master ( 0675d2...e555ac )
by Jaap
01:36
created

Array_::__construct()   A

Complexity

Conditions 3
Paths 4

Size

Total Lines 12
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 12

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 0
cts 10
cp 0
rs 9.4285
c 0
b 0
f 0
cc 3
eloc 7
nc 4
nop 2
crap 12
1
<?php
2
/**
3
 * This file is part of phpDocumentor.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @copyright 2010-2015 Mike van Riel<[email protected]>
9
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
 * @link      http://phpdoc.org
11
 */
12
13
namespace phpDocumentor\Reflection\Types;
14
15
/**
16
 * Represents an array type as described in the PSR-5, the PHPDoc Standard.
17
 *
18
 * An array can be represented in two forms:
19
 *
20
 * 1. Untyped (`array`), where the key and value type is unknown and hence classified as 'Mixed_'.
21
 * 2. Types (`string[]`), where the value type is provided by preceding an opening and closing square bracket with a
22
 *    type name.
23
 */
24
final class Array_ extends AbstractList
0 ignored issues
show
Coding Style introduced by
This class is not in CamelCase format.

Classes in PHP are usually named in CamelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.

Thus the name database provider becomes DatabaseProvider.

Loading history...
25
{
26
}
27