Issues (254)

Api/FaqGroupRepositoryInterface.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * MagePrince
4
 *
5
 * NOTICE OF LICENSE
6
 *
7
 * This source file is subject to the mageprince.com license that is
8
 * available through the world-wide-web at this URL:
9
 * https://mageprince.com/end-user-license-agreement
10
 *
11
 * DISCLAIMER
12
 *
13
 * Do not edit or add to this file if you wish to upgrade this extension to newer
14
 * version in the future.
15
 *
16
 * @category    MagePrince
17
 * @package     Mageprince_Faq
18
 * @copyright   Copyright (c) MagePrince (https://mageprince.com/)
19
 * @license     https://mageprince.com/end-user-license-agreement
20
 */
21
22
namespace Mageprince\Faq\Api;
23
24
interface FaqGroupRepositoryInterface
25
{
26
    /**
27
     * Save FaqGroup
28
     *
29
     * @param \Mageprince\Faq\Api\Data\FaqGroupInterface $faqGroup
30
     * @return \Mageprince\Faq\Api\Data\FaqGroupInterface
31
     * @throws \Magento\Framework\Exception\LocalizedException
32
     */
33
    public function save(
34
        \Mageprince\Faq\Api\Data\FaqGroupInterface $faqGroup
35
    );
36
37
    /**
38
     * Retrieve FaqGroup
39
     *
40
     * @param int $faqGroupId
41
     * @return \Mageprince\Faq\Api\Data\FaqGroupInterface
42
     * @throws \Magento\Framework\Exception\LocalizedException
43
     */
44
    public function getById($faqGroupId);
45
46
    /**
47
     * Retrieve FaqGroup matching the specified criteria.
48
     *
49
     * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
50
     * @return \Mageprince\Faq\Api\Data\FaqGroupSearchResultsInterface
51
     * @throws \Magento\Framework\Exception\LocalizedException
52
     */
53
    public function getList(
54
        \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
0 ignored issues
show
The type Magento\Framework\Api\SearchCriteriaInterface 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...
55
    );
56
57
    /**
58
     * Delete FaqGroup
59
     *
60
     * @param \Mageprince\Faq\Api\Data\FaqGroupInterface $faqGroup
61
     * @return bool true on success
62
     * @throws \Magento\Framework\Exception\LocalizedException
63
     */
64
    public function delete(
65
        \Mageprince\Faq\Api\Data\FaqGroupInterface $faqGroup
66
    );
67
68
    /**
69
     * Delete FaqGroup by ID
70
     *
71
     * @param int $faqGroupId
72
     * @return bool true on success
73
     * @throws \Magento\Framework\Exception\NoSuchEntityException
74
     * @throws \Magento\Framework\Exception\LocalizedException
75
     */
76
    public function deleteById($faqGroupId);
77
}
78