getCompanyUserCollection()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\PunchoutCatalogs\Dependency\Facade;
9
10
use Generated\Shared\Transfer\CompanyUserCollectionTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...yUserCollectionTransfer 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...rCriteriaFilterTransfer 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
13
class PunchoutCatalogsToCompanyUserFacadeBridge implements PunchoutCatalogsToCompanyUserFacadeInterface
14
{
15
    /**
16
     * @var \Spryker\Zed\CompanyUser\Business\CompanyUserFacadeInterface
17
     */
18
    protected $companyUserFacade;
19
20
    /**
21
     * @param \Spryker\Zed\CompanyUser\Business\CompanyUserFacadeInterface $companyUserFacade
22
     */
23
    public function __construct($companyUserFacade)
24
    {
25
        $this->companyUserFacade = $companyUserFacade;
26
    }
27
28
    /**
29
     * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer
30
     *
31
     * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer
32
     */
33
    public function getCompanyUserCollection(CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer): CompanyUserCollectionTransfer
34
    {
35
        return $this->companyUserFacade->getCompanyUserCollection($companyUserCriteriaFilterTransfer);
36
    }
37
}
38