1 | <?php |
||
22 | class Network extends File implements ConnectorInterface |
||
23 | { |
||
24 | /** |
||
25 | * Open a connection to a TCP/IP socket for ethernet printer connections |
||
26 | * |
||
27 | * @param string $hostname |
||
28 | * @param int $port |
||
29 | * @throws RuntimeException |
||
30 | */ |
||
31 | public function __construct($hostname = '', $port = 9100) |
||
46 | } |
||
47 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.