MailRepositoryInterface::push()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
namespace yiicod\mailqueue\models;
4
5
//$to, $subject, $body, $priority = 0, $from = '', array $attaches = [],
0 ignored issues
show
Unused Code Comprehensibility introduced by
54% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
6
interface MailRepositoryInterface
7
{
8
    /**
9
     * Get data for setAttributes
10
     *
11
     * @return array
12
     */
13
    public function getData(): array;
14
15
    /**
16
     * Push to storage mail
17
     *
18
     * @return bool
19
     */
20
    public function push(): bool;
21
}
22