1 | <?php |
||
19 | class Phiber extends PhiberPersistence |
||
20 | { |
||
21 | /** |
||
22 | * Phiber constructor. |
||
23 | * |
||
24 | * @param string|StdClass $object |
||
25 | */ |
||
26 | public function __construct($object = "") |
||
30 | |||
31 | /** |
||
32 | * Método opcional responsável por retornar uma instância da classe PhiberPersistence, |
||
33 | * que é responsável pela persistencia dos dados. (CREATE, RETREAVE, UPDATE, DELETE) |
||
34 | * |
||
35 | * @deprecated |
||
36 | * @param string|\stdClass $object |
||
37 | * @return PhiberPersistence |
||
38 | */ |
||
39 | public function openPersist($object = "") |
||
43 | } |
||
44 |
This check looks at variables that have been passed in as parameters and are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.