| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function handle() |
||
| 41 | { |
||
| 42 | $connection = Config::get('ab::connection'); |
||
| 43 | |||
| 44 | DB::connection($connection)->table('experiments')->delete(); |
||
| 45 | DB::connection($connection)->table('goals')->delete(); |
||
| 46 | |||
| 47 | $this->call('ab:install'); |
||
| 48 | |||
| 49 | $this->info('A/B testing data flushed.'); |
||
| 50 | } |
||
| 51 | |||
| 72 |
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.