1 | <?php |
||
17 | class Report extends FlexiBeeRW { |
||
18 | |||
19 | /** |
||
20 | * Evidence užitá objektem. |
||
21 | * Evidence used by object. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | public $evidence = 'report'; |
||
26 | |||
27 | /** |
||
28 | * Načte záznam z FlexiBee a uloží v sobě jeho data |
||
29 | * Read FlexiBee record and store it inside od object |
||
30 | * |
||
31 | * @param int|string $id ID or conditions |
||
32 | * |
||
33 | * @return int počet načtených položek |
||
34 | */ |
||
35 | public function loadFromFlexiBee($id = null) { |
||
44 | |||
45 | /** |
||
46 | * Update $this->apiURL |
||
47 | */ |
||
48 | public function updateApiURL() { |
||
55 | |||
56 | } |
||
57 |
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: