Completed
Push — master ( 62cb27...c16962 )
by mains
03:25
created

php/Requests/GetPostDetails.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
4
class GetPostDetails extends AbstractRequest {
5
		
6
    function getApiEndPoint()
7
    {
8
        return '/v2/posts/' . $_GET['postId'];
9
    }
10
    function getPayload()
11
    {
12
        return array(
13
        );
14
    }
15
    function getMethod()
16
    {
17
        return 'GET';
18
    }
19
}
20
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...
21