| 1 | <?php declare (strict_types=1); |
||
| 14 | class BuilderFactory |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $builder; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $builder |
||
| 23 | * @param string $builderType |
||
| 24 | * @throws \Exception |
||
| 25 | */ |
||
| 26 | public function __construct(string $builder, string $builderType) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns a new instance of the requested builder object |
||
| 41 | * |
||
| 42 | * @return EmmetBlue\Core\Database\Builder\BuildableInterface |
||
| 43 | */ |
||
| 44 | public function getBuilder() : BuildableInterface |
||
| 48 | } |
||
| 49 |
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..