1 | <?php |
||
8 | class RenderManager extends AbstractRender |
||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | private $renderService = []; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $api; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $version; |
||
24 | |||
25 | /** |
||
26 | * @throws ApiNotDefinedException |
||
27 | * @throws VersionNotDefinedException |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | public function render() |
||
51 | |||
52 | /** |
||
53 | * @param string $api |
||
54 | * @param string $version |
||
55 | */ |
||
56 | public function getSupport($api, $version) |
||
64 | |||
65 | /** |
||
66 | * @param RenderInterface $service |
||
67 | * |
||
68 | * @return $this |
||
69 | */ |
||
70 | public function addRenderService(RenderInterface $service) |
||
76 | |||
77 | /** |
||
78 | * @return array |
||
79 | */ |
||
80 | public function getRenderService() |
||
84 | |||
85 | /** |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getApi() |
||
92 | |||
93 | /** |
||
94 | * @param string $api |
||
95 | * |
||
96 | * @return RenderManager |
||
97 | */ |
||
98 | public function setApi($api) |
||
104 | |||
105 | /** |
||
106 | * @return string |
||
107 | */ |
||
108 | public function getVersion() |
||
112 | |||
113 | /** |
||
114 | * @param string $version |
||
115 | * |
||
116 | * @return RenderManager |
||
117 | */ |
||
118 | public function setVersion($version) |
||
124 | } |
||
125 |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.