| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace JobApis\JobsToMail\Console\Commands; |
||
| 47 | public function handle() |
||
| 48 | { |
||
| 49 | $count = 0; |
||
| 50 | foreach ($this->searches->getActive($this->option('email')) as $search) { |
||
| 51 | $this->dispatch(new SearchAndNotifyUser($search)); |
||
| 52 | $count++; |
||
| 53 | } |
||
| 54 | return $this->info("{$count} job searches queued for collection."); |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.