| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 30 | public function transformResource(Schedule $schedule)  | 
            ||
| 31 |     { | 
            ||
| 32 | return [  | 
            ||
| 33 | 'id' => $schedule->id,  | 
            ||
| 34 | 'alias' => $schedule->alias,  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 35 | 'timezone' => $schedule->timezone,  | 
            ||
| 36 | 'week_days' => $schedule->week_days,  | 
            ||
| 37 | 'exceptions' => $schedule->exceptions,  | 
            ||
| 38 | 'randomize' => $schedule->randomize,  | 
            ||
| 39 | 'times' => $schedule->times, //$this->buildTimes($schedule->week_days),  | 
            ||
| 40 | 'accounts' => [],  | 
            ||
| 41 | 'created_at' => $schedule->created_at,  | 
            ||
| 42 | 'updated_at' => $schedule->updated_at  | 
            ||
| 43 | ];  | 
            ||
| 51 | 
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.