1 | <?php |
||
15 | class FeSunat extends BaseSunat |
||
16 | { |
||
17 | const BETA = 'https://e-beta.sunat.gob.pe/ol-ti-itcpfegem-beta/billService'; |
||
18 | const HOMOLOGACION = 'https://www.sunat.gob.pe/ol-ti-itcpgem-sqa/billService'; |
||
19 | const PRODUCCION = 'https://e-factura.sunat.gob.pe/ol-ti-itcpfegem/billService'; |
||
20 | const WSDL_ENDPOINT = 'https://e-beta.sunat.gob.pe/ol-ti-itcpfegem-beta/billService?wsdl'; |
||
21 | |||
22 | 2 | public function __construct($user, $password) |
|
27 | |||
28 | public function send($filename, $content) |
||
51 | } |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()
method in theSon
calls the wrong method in the parent class.