Issues (4)

src/Contracts/HTTP.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * HTTP chan API
4
 * User: moyo
5
 * Date: 29/09/2017
6
 * Time: 11:34 AM
7
 */
8
9
namespace Carno\Net\Contracts;
10
11
use Psr\Http\Message\ResponseInterface as Response;
0 ignored issues
show
The type Psr\Http\Message\ResponseInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
13
interface HTTP extends Serving
14
{
15
    /**
16
     * @param int $conn
17
     * @param Response $response
18
     * @return bool
19
     */
20
    public function reply(int $conn, Response $response) : bool;
21
22
    /**
23
     * @param int $conn
24
     * @return bool
25
     */
26
    public function close(int $conn) : bool;
27
}
28