| 1 | <?php |
||
| 7 | class DatabasesServiceProvider implements ServiceProviderInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Values may be either: |
||
| 12 | * |
||
| 13 | * - 2: PDO::ERRMODE_EXCEPTION |
||
| 14 | * - 1: PDO::ERRMODE_WARNING |
||
| 15 | * - 0: PDO::ERRMODE_SILENT |
||
| 16 | * |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | public $pdo_error_mode = 2; |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @param int $pdo_error_mode Default: PDO::ERRMODE_EXCEPTION |
||
| 24 | */ |
||
| 25 | 85 | public function __construct( $pdo_error_mode = \PDO::ERRMODE_EXCEPTION ) |
|
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * @param Container $dic Pimple Containter instance |
||
| 36 | * |
||
| 37 | * @implements ServiceProviderInterface |
||
| 38 | */ |
||
| 39 | 17 | public function register(Container $dic) |
|
| 77 | |||
| 78 | } |
||
| 79 | |||
| 81 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.