Conditions | 4 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function get(array &$configuration): void |
||
26 | { |
||
27 | if (!isset($configuration['row']['identifier'])) { |
||
28 | return; |
||
29 | } |
||
30 | |||
31 | try { |
||
32 | $site = $this->siteFinder->getSiteByIdentifier($configuration['row']['identifier']); |
||
|
|||
33 | } catch (SiteNotFoundException $exception) { |
||
34 | return; |
||
35 | } |
||
36 | |||
37 | $configuration['items'][] = ['', '']; |
||
38 | foreach ($site->getAllLanguages() as $language) { |
||
39 | $configuration['items'][] = [$language->getTitle(), $language->getLanguageId()]; |
||
40 | } |
||
43 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.