1 | <?php |
||
5 | class ResultsMetadata |
||
6 | { |
||
7 | /** |
||
8 | * @var boolean |
||
9 | */ |
||
10 | private $recordLimitReached; |
||
11 | |||
12 | /** |
||
13 | * @var long |
||
14 | */ |
||
15 | private $totalTime; |
||
16 | |||
17 | /** |
||
18 | * @return boolean True if the total record count is actually greater than the returned record count in the response, false otherwise |
||
19 | */ |
||
20 | public function hasRecordLimitReached() |
||
21 | { |
||
22 | return $this->recordLimitReached; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param recordLimitReached Whether the total record count is actually greater than the returned record count |
||
27 | * @return This ResultsMetadata object |
||
28 | */ |
||
29 | public function setRecordLimitReached($recordLimitReached) |
||
34 | |||
35 | /** |
||
36 | * @return long The total time spent in milliseconds |
||
37 | */ |
||
38 | public function getTotalTime() |
||
42 | |||
43 | /** |
||
44 | * @param totalTime The total time spent in milliseconds to generate results |
||
45 | * @return This ResultsMetadata object |
||
46 | */ |
||
47 | public function setTotalTime($totalTime) |
||
52 | } |
||
53 | |||
54 | ?> |
||
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..