Passed
Push — master ( d16bab...9efe7c )
by Anton
37s
created

src/ResourceIdentifierInterface.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * @author Anton Tuyakhov <[email protected]>
4
 */
5
6
namespace tuyakhov\jsonapi;
7
8
/**
9
 * Interface for a “resource identifier object” that identifies an individual resource.
10
 */
11
interface ResourceIdentifierInterface
12
{
13
    /**
14
     * The "id" member of a resource object.
15
     * @return string an ID that in pair with type uniquely identifies the resource.
16
     */
17
    public function getId();
18
19
    /**
20
     * The "type" member of a resource object.
21
     * @return string a type that identifies the resource.
22
     */
23
    public function getType();
24
}
0 ignored issues
show
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...
25