1 | <?php |
||
9 | class ImageProvider extends AbstractProvider |
||
10 | { |
||
11 | /** |
||
12 | * @param FormMapper $formMapper |
||
13 | */ |
||
14 | public function buildProviderCreateForm(FormMapper $formMapper) |
||
18 | |||
19 | /** |
||
20 | * @param Media $media |
||
21 | */ |
||
22 | public function update(Media $media) |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getIcon() |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getTitle() |
||
47 | |||
48 | public function getType() |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getMediaTemplate() |
||
60 | } |
||
61 |
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.