1 | <?php |
||
17 | class QueryExecuter { |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $url; |
||
23 | |||
24 | /** |
||
25 | * @var string[] |
||
26 | */ |
||
27 | private $options; |
||
28 | |||
29 | /** |
||
30 | * @var Http |
||
31 | */ |
||
32 | private $http; |
||
33 | |||
34 | /** |
||
35 | * @param string $url |
||
36 | * @param string[] $options one of queryParam, formatParam or userAgent |
||
37 | * @param Http|null $http |
||
38 | */ |
||
39 | public function __construct( $url, array $options = array(), Http $http = null ) { |
||
48 | |||
49 | /** |
||
50 | * Executes the given SPARQL query. |
||
51 | * |
||
52 | * @param string|QueryBuilder $query |
||
53 | * @return array |
||
54 | * @throws InvalidArgumentException |
||
55 | * @throws RangeException |
||
56 | * @throws RuntimeException |
||
57 | */ |
||
58 | public function execute( $query ) { |
||
73 | |||
74 | private function getResult( $query ) { |
||
82 | |||
83 | } |
||
84 |
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..