1 | <?php |
||
25 | class GearmanJobDescribeCommand extends ContainerAwareCommand |
||
26 | { |
||
27 | |||
28 | /** |
||
29 | * Console Command configuration |
||
30 | */ |
||
31 | 16 | protected function configure() |
|
42 | |||
43 | /** |
||
44 | * Executes the current command. |
||
45 | * |
||
46 | * @param InputInterface $input An InputInterface instance |
||
47 | * @param OutputInterface $output An OutputInterface instance |
||
48 | * |
||
49 | * @return integer 0 if everything went fine, or an error code |
||
|
|||
50 | * |
||
51 | * @throws \LogicException When this abstract class is not implemented |
||
52 | */ |
||
53 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
62 | } |
||
63 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.