| 1 | <?php |
||
| 19 | class RackspaceFilesystem extends Filesystem |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $endpoint; |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $username; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | public $apiKey; |
||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $region; |
||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | public $container; |
||
| 41 | /** |
||
| 42 | * @var string|null |
||
| 43 | */ |
||
| 44 | public $prefix; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdoc |
||
| 48 | */ |
||
| 49 | public function init() |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return RackspaceAdapter |
||
| 76 | */ |
||
| 77 | protected function prepareAdapter() |
||
| 87 | } |
||
| 88 |
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: