| 1 | <?php |
||
| 9 | class AcquiaSearchClient extends SolrClient implements ServiceManagerAware |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | * |
||
| 14 | * Sets the HMAC authentication plugin, sets the base_path to point to the |
||
| 15 | * correct index. |
||
| 16 | */ |
||
| 17 | 27 | public static function factory($config = array()) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 3 | public function getBuilderParams() |
|
| 50 | } |
||
| 51 |
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: