| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function __construct( |
||
| 24 | SchemaTable $schemaTable, |
||
| 25 | MigrationFiles $migrationFiles, |
||
| 26 | Manipulation $schemaManipulation, |
||
| 27 | Info $schemaInfo, |
||
| 28 | ContainerInterface $container) |
||
| 29 | { |
||
| 30 | parent::__construct($schemaTable, $migrationFiles, $schemaManipulation, $schemaInfo); |
||
| 31 | $this->container = $container; |
||
| 32 | } |
||
| 33 | |||
| 47 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: