| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function saveSettings(SettingsInterface $settingsModel) |
||
| 32 | { |
||
| 33 | /** @var Model $settingsModel */ |
||
| 34 | |||
| 35 | // Save plugin settings |
||
| 36 | if (Craft::$app->getPlugins()->savePluginSettings( |
||
| 37 | $this->getSamlPlugin(), |
||
| 38 | $settingsModel->toArray() |
||
|
|
|||
| 39 | )) { |
||
| 40 | // Alter table |
||
| 41 | return $this->alterEnvironmentsColumn(); |
||
| 42 | } |
||
| 43 | |||
| 44 | return false; |
||
| 45 | } |
||
| 46 | |||
| 62 |
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.