phpffcms /
ffcms
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | use Ffcms\Core\Helper\HTML\Form; |
||
| 3 | use Ffcms\Core\Helper\Url; |
||
| 4 | |||
| 5 | /** @var $user \Apps\ActiveRecord\User */ |
||
| 6 | /** @var $this object */ |
||
| 7 | /** @var $model \Apps\Model\Front\Profile\FormAvatarUpload */ |
||
| 8 | |||
| 9 | $this->breadcrumbs = [ |
||
| 10 | Url::to('/') => __('Home'), |
||
| 11 | Url::to('profile/show', $user->id) => __('Profile'), |
||
| 12 | __('Avatar settings') |
||
| 13 | ]; |
||
| 14 | |||
| 15 | $this->title = __('Avatar change') |
||
| 16 | ?> |
||
| 17 | |||
| 18 | <?= $this->render('profile/_settingsTab') ?> |
||
| 19 | |||
| 20 | <h1><?= $this->title; ?></h1> |
||
| 21 | <hr /> |
||
| 22 | |||
| 23 | <?php $form = new Form($model, ['class' => 'form-horizontal', 'method' => 'post', 'action' => '', 'enctype' => 'multipart/form-data']); ?> |
||
| 24 | |||
| 25 | <?= $form->start() ?> |
||
|
0 ignored issues
–
show
|
|||
| 26 | |||
| 27 | <?= $form->field('file', 'file', null, __('Select jpg, png or gif avatar')) ?> |
||
| 28 | <div class="col-md-9 col-md-offset-3"><?= $form->submitButton(__('Change'), ['class' => 'btn btn-warning']) ?></div> |
||
| 29 | |||
| 30 | <?= $form->finish() ?> |
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.