Commit 1bcdeccc authored by matthieu-rolland's avatar matthieu-rolland
Browse files

set constructor as protected

parent dce790df
......@@ -98,7 +98,7 @@ class ShopConstraint
*
* @throws ShopException
*/
private function __construct(?int $shopId, ?int $shopGroupId, bool $strict = false)
protected function __construct(?int $shopId, ?int $shopGroupId, bool $strict = false)
{
$this->shopId = null !== $shopId ? new ShopId($shopId) : null;
$this->shopGroupId = null !== $shopGroupId ? new ShopGroupId($shopGroupId) : null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment