1 | <?php |
||
25 | class GearmanWorkerDescribeCommand extends ContainerAwareCommand |
||
26 | { |
||
27 | /** |
||
28 | * Console Command configuration |
||
29 | */ |
||
30 | 16 | protected function configure() |
|
43 | |||
44 | /** |
||
45 | * Executes the current command. |
||
46 | * |
||
47 | * @param InputInterface $input An InputInterface instance |
||
48 | * @param OutputInterface $output An OutputInterface instance |
||
49 | * |
||
50 | * @return integer 0 if everything went fine, or an error code |
||
|
|||
51 | * |
||
52 | * @throws \LogicException When this abstract class is not implemented |
||
53 | */ |
||
54 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
68 | } |
||
69 |
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.