| Total Complexity | 9 |
| Total Lines | 102 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class QueryResult |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var boolean |
||
| 9 | */ |
||
| 10 | protected $done = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var QueryLocator |
||
|
|
|||
| 14 | */ |
||
| 15 | protected $queryLocator = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var sObject[] |
||
| 19 | */ |
||
| 20 | protected $records = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $size = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param boolean $done |
||
| 29 | * @param int $size |
||
| 30 | */ |
||
| 31 | public function __construct($done = null, $size = null) |
||
| 32 | { |
||
| 33 | $this->done = $done; |
||
| 34 | $this->size = $size; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return boolean |
||
| 39 | */ |
||
| 40 | public function getDone() |
||
| 41 | { |
||
| 42 | return $this->done; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param boolean $done |
||
| 47 | * @return \SForce\Wsdl\QueryResult |
||
| 48 | */ |
||
| 49 | public function setDone($done) |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return QueryLocator |
||
| 57 | */ |
||
| 58 | public function getQueryLocator() |
||
| 59 | { |
||
| 60 | return $this->queryLocator; |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param QueryLocator $queryLocator |
||
| 65 | * @return \SForce\Wsdl\QueryResult |
||
| 66 | */ |
||
| 67 | public function setQueryLocator($queryLocator) |
||
| 68 | { |
||
| 69 | $this->queryLocator = $queryLocator; |
||
| 70 | return $this; |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return sObject[] |
||
| 75 | */ |
||
| 76 | public function getRecords() |
||
| 77 | { |
||
| 78 | return $this->records; |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @param sObject[] $records |
||
| 83 | * @return \SForce\Wsdl\QueryResult |
||
| 84 | */ |
||
| 85 | public function setRecords(array $records = null) |
||
| 86 | { |
||
| 87 | $this->records = $records; |
||
| 88 | return $this; |
||
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @return int |
||
| 93 | */ |
||
| 94 | public function getSize() |
||
| 97 | } |
||
| 98 | |||
| 99 | /** |
||
| 100 | * @param int $size |
||
| 101 | * @return \SForce\Wsdl\QueryResult |
||
| 102 | */ |
||
| 103 | public function setSize($size) |
||
| 107 | } |
||
| 108 | } |
||
| 109 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths