| 1 | <?php |
||
| 8 | class Service |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | public const GENERAL_LIMIT = 100; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var array[]|null |
||
| 18 | */ |
||
| 19 | protected $_parameters = null; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $_baseUrl = "https://api.n11.com/ws"; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Service constructor. |
||
| 28 | * @throws N11Exception |
||
| 29 | */ |
||
| 30 | public function __construct() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $endPoint |
||
| 42 | * @return SoapClient |
||
| 43 | * @throws \SoapFault |
||
| 44 | */ |
||
| 45 | protected function setEndPoint(string $endPoint): SoapClient |
||
| 49 | |||
| 50 | } |
||
| 51 |
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..