1 | <?php |
||
26 | class PageService { |
||
27 | |||
28 | /** |
||
29 | * Api Service |
||
30 | * @var ApiService $apiService |
||
31 | */ |
||
32 | protected $apiService; |
||
33 | |||
34 | /** |
||
35 | * Template Service |
||
36 | * @var TemplateService $templateService |
||
37 | */ |
||
38 | protected $templateService; |
||
39 | |||
40 | /** |
||
41 | * PageBreakpoint Service |
||
42 | * @var PageBreakpointService $pageBreakpointService |
||
43 | */ |
||
44 | protected $pageBreakpointService; |
||
45 | |||
46 | /** |
||
47 | * Returns the Api Service |
||
48 | 5 | * @return ApiService |
|
49 | 5 | */ |
|
50 | public function getApiService() { |
||
53 | |||
54 | /** |
||
55 | * Sets the Api Service |
||
56 | 5 | * @param ApiService $apiService |
|
57 | 5 | */ |
|
58 | 5 | public function setApiService(ApiService $apiService) { |
|
61 | |||
62 | /** |
||
63 | * Returns the Template Service |
||
64 | 4 | * @return TemplateService |
|
65 | 4 | */ |
|
66 | public function getTemplateService() { |
||
69 | |||
70 | /** |
||
71 | * Sets the Template Service |
||
72 | 5 | * @param TemplateService $templateService |
|
73 | 5 | */ |
|
74 | 5 | public function setTemplateService(TemplateService $templateService) { |
|
77 | |||
78 | /** |
||
79 | * Returns the PageBreakpoint Service |
||
80 | 1 | * @return PageBreakpointService |
|
81 | 1 | */ |
|
82 | public function getPageBreakpointService() { |
||
85 | |||
86 | /** |
||
87 | * Sets the PageBreakpoint Service |
||
88 | 4 | * @param PageBreakpointService $pageBreakpointService |
|
89 | 4 | */ |
|
90 | 4 | public function setPageBreakpointService(PageBreakpointService $pageBreakpointService = null) { |
|
93 | 4 | ||
94 | 4 | public function __construct(TemplateService $templateService, ApiService $apiService, PageBreakpointService $pageBreakpointService = null) { |
|
99 | |||
100 | /** |
||
101 | * Fetchs the page content from Columnis Api |
||
102 | * |
||
103 | * @param Page $page |
||
104 | * @param Array $params |
||
|
|||
105 | 4 | * @return boolean |
|
106 | 4 | */ |
|
107 | 4 | public function fetch(Page $page, Array $queryString = null, $accessToken = null, $retry = 0) { |
|
169 | } |
||
170 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.