supernova-ws /
SuperNova
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 | * quest.php |
||
| 5 | * |
||
| 6 | * @v1 (c) copyright 2011 by Gorlum for http://supernova.ws |
||
| 7 | * |
||
| 8 | */ |
||
| 9 | |||
| 10 | define('INSIDE' , true); |
||
| 11 | define('INSTALL' , false); |
||
| 12 | |||
| 13 | require('common.' . substr(strrchr(__FILE__, '.'), 1)); |
||
| 14 | |||
| 15 | lng_include('quest'); |
||
| 16 | $template = gettemplate('quest', true); |
||
|
0 ignored issues
–
show
|
|||
| 17 | |||
| 18 | qst_render_page(); |
||
| 19 | |||
| 20 | display($template, $lang['qst_quests']); |
||
| 21 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: