Completed
Push — master ( 67857d...50814b )
by Rudi
02:55
created

Deque::increaseCapacity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 1 Features 0
Metric Value
c 4
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace Ds;
3
4
/**
5
 * Deque
6
 *
7
 * @package Ds
8
 */
9
final class Deque implements \IteratorAggregate, \ArrayAccess, Sequence
10
{
11
    use Traits\Collection;
12
    use Traits\Sequence;
13
    use Traits\SquaredCapacity;
14
15
    const MIN_CAPACITY = 8;
16
}
17