1 | <?php |
||
13 | class TranslatorServiceProvider extends AbstractSignatureServiceProvider |
||
14 | { |
||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | public function register() |
||
24 | |||
25 | /** |
||
26 | * Register the session manager instance. |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | protected function registerTranslator() |
||
35 | |||
36 | /** |
||
37 | * Register the translation line loader. |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | protected function registerLoader() |
||
50 | |||
51 | protected function registerLanguages() |
||
59 | |||
60 | protected function createFileBackend() |
||
69 | |||
70 | /** |
||
71 | * @inheritdoc |
||
72 | */ |
||
73 | public function provides() |
||
77 | } |
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.