These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Knp\Rad\FixturesLoad; |
||
6 | |||
7 | use Symfony\Component\Console\Output\OutputInterface; |
||
8 | |||
9 | interface Formater |
||
10 | { |
||
11 | const VERBOSITY_NORMAL = false; |
||
12 | |||
13 | const VERBOSITY_EXTRA = true; |
||
14 | |||
15 | public function setOutput(OutputInterface $output); |
||
0 ignored issues
–
show
|
|||
16 | |||
17 | public function getVerbosity(): bool; |
||
18 | |||
19 | public function preLoad(Event $event); |
||
0 ignored issues
–
show
For interfaces and abstract methods it is generally a good practice to add a
@return annotation even if it is just @return void or @return null , so that implementors know what to do in the overridden method.
For interface and abstract methods, it is impossible to infer the return type
from the immediate code. In these cases, it is generally advisible to explicitly
annotate these methods with a
Loading history...
|
|||
20 | |||
21 | public function postLoad(Event $event); |
||
0 ignored issues
–
show
For interfaces and abstract methods it is generally a good practice to add a
@return annotation even if it is just @return void or @return null , so that implementors know what to do in the overridden method.
For interface and abstract methods, it is impossible to infer the return type
from the immediate code. In these cases, it is generally advisible to explicitly
annotate these methods with a
Loading history...
|
|||
22 | } |
||
23 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@return
doc comment to communicate to implementors of these methods what they are expected to return.