1 | <?php |
||
2 | |||
3 | use Ffcms\Templex\Url\Url; |
||
4 | |||
5 | /** @var Apps\Model\Admin\User\FormInviteSend $model */ |
||
6 | /** @var \Ffcms\Templex\Template\Template $this */ |
||
7 | |||
8 | $this->layout('_layouts/default', [ |
||
9 | 'title' => __('Send invite'), |
||
10 | 'breadcrumbs' => [ |
||
11 | Url::to('main/index') => __('Main'), |
||
12 | Url::to('application/index') => __('Applications'), |
||
13 | Url::to('user/index') => __('User list'), |
||
14 | __('Send invite') |
||
15 | ] |
||
16 | ]); |
||
17 | ?> |
||
18 | |||
19 | <?php $this->start('body') ?> |
||
20 | |||
21 | <?= $this->insert('user/_tabs') ?> |
||
0 ignored issues
–
show
|
|||
22 | <h1><?= __('Send invite') ?></h1> |
||
23 | <?php $form = $this->form($model) ?> |
||
24 | <?= $form->start() ?> |
||
25 | |||
26 | <?= $form->fieldset()->text('email', null, __('Specify user email')) ?> |
||
27 | <?= $form->button()->submit(__('Send'), ['class' => 'btn btn-primary']) ?> |
||
28 | <?= $form->button()->cancel(__('Cancel'), ['link' => ['user/index'], 'class' => 'btn btn-secondary']) ?> |
||
29 | |||
30 | <?= $form->stop() ?> |
||
31 | |||
32 | <?php $this->stop() ?> |
||
33 |
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.