1 | <?php |
||
16 | class CompanyTest extends FlexiBeeROTest |
||
17 | { |
||
18 | /** |
||
19 | * @var Company |
||
20 | */ |
||
21 | protected $object; |
||
22 | |||
23 | /** |
||
24 | * Sets up the fixture, for example, opens a network connection. |
||
25 | * This method is called before a test is executed. |
||
26 | */ |
||
27 | protected function setUp() |
||
31 | |||
32 | /** |
||
33 | * Tears down the fixture, for example, closes a network connection. |
||
34 | * This method is called after a test is executed. |
||
35 | */ |
||
36 | protected function tearDown() |
||
40 | |||
41 | /** |
||
42 | * @covers Ease\Brick::getMyKey |
||
43 | * |
||
44 | * @todo Implement testGetMyKey(). |
||
45 | */ |
||
46 | public function testGetMyKey() |
||
50 | |||
51 | /** |
||
52 | * @covers FlexiPeeHP\Company::processInit |
||
53 | */ |
||
54 | public function testProcessInit() |
||
60 | |||
61 | /** |
||
62 | * @covers FlexiPeeHP\Company::getRecordID |
||
63 | */ |
||
64 | public function testGetRecordID() |
||
69 | |||
70 | /** |
||
71 | * @covers FlexiPeeHP\Company::objectToID |
||
72 | */ |
||
73 | public function testObjectToID() |
||
77 | |||
78 | /** |
||
79 | * @covers FlexiPeeHP\Company::performRequest |
||
80 | */ |
||
81 | public function testPerformRequest() |
||
95 | |||
96 | /** |
||
97 | * @covers FlexiPeeHP\Company::getFlexiData |
||
98 | */ |
||
99 | public function testGetFlexiData() |
||
105 | |||
106 | /** |
||
107 | * @covers FlexiPeeHP\Company::getResponseEvidence |
||
108 | */ |
||
109 | public function testGetResponseEvidence() |
||
113 | |||
114 | /** |
||
115 | * @covers FlexiPeeHP\Company::__toString |
||
116 | */ |
||
117 | public function testtoString() |
||
123 | |||
124 | /** |
||
125 | * @covers FlexiPeeHP\Company::draw |
||
126 | */ |
||
127 | public function testDraw($whatWant = NULL) |
||
132 | } |
||
133 |
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: