| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ProcessImage implements ShouldQueue |
||
| 10 | { |
||
| 11 | protected $imageManager; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create the event listener. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function __construct(ImageManager $imageManager) |
||
| 19 | { |
||
| 20 | $this->imageManager = $imageManager; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Handle the event. |
||
| 25 | * |
||
| 26 | * @param Saved $event |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function handle(Saved $event) |
||
| 40 | } |
||
| 41 | } |
||
| 43 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.