Completed
Push — master ( 88df08...39f418 )
by Alexey
40:05
created

models/MailRepositoryInterface.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

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