The type TddWizard\Fixtures\Sales\OrderInterface was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
The expression return $this->order returns the type Magento\Sales\Model\Order which is incompatible with the type-hinted return TddWizard\Fixtures\Sales\OrderInterface.
Loading history...
23
}
24
25
17
public function getId(): int
26
{
27
17
return (int) $this->order->getEntityId();
28
}
29
30
2
public function getCustomerId(): int
31
{
32
2
return (int) $this->order->getCustomerId();
33
}
34
35
public function getCustomerEmail(): string
36
{
37
return (string) $this->order->getCustomerEmail();
38
}
39
40
5
/**
41
* Obtain `qty_ordered` per order item, indexed with `item_id`.
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths