GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( 0ed171...4fdfed )
by Baptiste
02:40
created

TypedCollectionInterface

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 18

2 Methods

Rating   Name   Duplication   Size   Complexity  
getType() 0 1 ?
type() 0 1 ?
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\Immutable;
5
6
/**
7
 * @deprecated To be removed in 2.0
8
 */
9
interface TypedCollectionInterface extends CollectionInterface
0 ignored issues
show
Deprecated Code introduced by
The interface Innmind\Immutable\CollectionInterface has been deprecated with message: To be removed in 2.0

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
10
{
11
    /**
12
     * Return the type of the collection
13
     *
14
     * It usually will be a class name
15
     *
16
     * @return string
17
     */
18
    public function getType(): string;
19
20
    /**
21
     * Same as getType but without the get
22
     *
23
     * @return setring
24
     */
25
    public function type(): string;
26
}
27