1 | <?php |
||
17 | class Zurnal extends FlexiBeeRO |
||
18 | { |
||
19 | /** |
||
20 | * Evidence užitá objektem. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | public $evidence = 'zurnal'; |
||
25 | |||
26 | /** |
||
27 | * |
||
28 | * @var type |
||
29 | */ |
||
30 | public static $evidenceToDb = ['faktura-vydana' => 'ddoklfak']; |
||
31 | |||
32 | /** |
||
33 | * obtain all record changes array |
||
34 | * |
||
35 | * @param FlexiBeeRO $object |
||
36 | * @return array changes history |
||
37 | */ |
||
38 | public function getAllChanges($object) |
||
54 | |||
55 | /** |
||
56 | * obtain last change array |
||
57 | * |
||
58 | * @param FlexiBeeRO $object |
||
59 | * @return array Old/New values pairs |
||
60 | */ |
||
61 | public function getLastChange($object) |
||
70 | } |
||
71 |
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: