1 | <?php |
||
23 | class DisplayBitmap extends DisplayAbstract implements ModelInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var boolean |
||
27 | */ |
||
28 | private $isFile; |
||
29 | /** |
||
30 | * @var boolean |
||
31 | */ |
||
32 | private $isFlash; |
||
33 | /** |
||
34 | * @var Bitmap |
||
35 | */ |
||
36 | private $oBitmap; |
||
37 | |||
38 | /** |
||
39 | * DisplayBitmap constructor. |
||
40 | * |
||
41 | * @param \mrcnpdlk\Grandstream\XMLApp\Helper\Point|null $oPoint |
||
42 | * @param Bitmap $oBitmap |
||
43 | */ |
||
44 | public function __construct(Point $oPoint = null, Bitmap $oBitmap) |
||
52 | |||
53 | /** |
||
54 | * @return \mrcnpdlk\Grandstream\XMLApp\MyXML |
||
55 | */ |
||
56 | public function getXml() : MyXML |
||
68 | } |
||
69 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.