dwolke /
ZfMailer
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * ZfMailer |
||
| 4 | * |
||
| 5 | * @author Daniel Wolkenhauer <[email protected]> |
||
| 6 | * @copyright Copyright (c) 1997-2019 Daniel Wolkenhauer |
||
| 7 | * @link http://dw-labs.de/zfmailer |
||
| 8 | * @version 0.1.0 |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace ZfMailer; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * ZfMailer |
||
| 15 | * |
||
| 16 | * Simple Mailer for Zend Framework (Zend\Mail) |
||
| 17 | * |
||
| 18 | * @package ZfMailer |
||
| 19 | */ |
||
| 20 | class Module |
||
| 21 | {
|
||
| 22 | |||
| 23 | /** |
||
| 24 | * Return an array for passing to Zend\Loader\AutoloaderFactory. |
||
| 25 | * |
||
| 26 | * @return array |
||
|
0 ignored issues
–
show
|
|||
| 27 | */ |
||
| 28 | public function getAutoloaderConfig() |
||
| 29 | {
|
||
| 30 | |||
| 31 | return array( |
||
| 32 | |||
| 33 | 'Zend\Loader\ClassMapAutoloader' => array( |
||
| 34 | __DIR__ . '/autoload_classmap.php', |
||
| 35 | ), |
||
| 36 | |||
| 37 | ); |
||
| 38 | |||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Returns the module configuration to merge with application configuration |
||
| 43 | * |
||
| 44 | * @return array|\Traversable |
||
| 45 | */ |
||
| 46 | public function getConfig() |
||
| 47 | {
|
||
| 48 | return include __DIR__ . '/config/module.config.php'; |
||
| 49 | } |
||
| 50 | |||
| 51 | } |
||
| 52 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.